Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds settings to control server CORS configuration #15396

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

desertaxle
Copy link
Member

Adds the following settings to allow modification to the CORS configuration of a Prefect server:

  • PREFECT_SERVER_CORS_ALLOWED_ORIGINS
  • PREFECT_SERVER_CORS_ALLOWED_METHODS
  • PREFECT_SERVER_CORS_ALLOWED_HEADERS

Closes #15074

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

Copy link

codspeed-hq bot commented Sep 16, 2024

CodSpeed Performance Report

Merging #15396 will not alter performance

Comparing cors-settings (a69266e) with main (b8bb495)

Summary

✅ 3 untouched benchmarks

@desertaxle desertaxle marked this pull request as ready for review September 16, 2024 18:53
@desertaxle desertaxle merged commit 8f159b4 into main Sep 16, 2024
36 checks passed
@desertaxle desertaxle deleted the cors-settings branch September 16, 2024 20:08
@cicdw cicdw added the security Related to application or infrastructure security label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement An improvement of an existing feature security Related to application or infrastructure security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add settings to allow configuration of CORS headers on a Prefect Server
4 participants