-
Notifications
You must be signed in to change notification settings - Fork 85
Update CORS Headers #963
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
Update CORS Headers #963
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,6 +11,14 @@ evolutionplugin=disabled | |||||||||||
|
|
||||||||||||
| play.filters.cors.preflightMaxAge = 3 days | ||||||||||||
| play.filters.cors.allowedHttpMethods = ["DELETE", "GET", "PATCH", "POST", "PUT", "OPTIONS"] | ||||||||||||
| play.filters.cors.allowedHttpMethods = ["DELETE", "GET", "PATCH", "POST", "PUT", "OPTIONS"] | ||||||||||||
| play.filters.cors.allowedOrigins = [ | ||||||||||||
| "https://app.apibuilder.io", | ||||||||||||
| "https://app.apibuilder.org", | ||||||||||||
| "http://localhost:5173" | ||||||||||||
| ] | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
|
Comment on lines
+17
to
+21
|
||||||||||||
| "https://app.apibuilder.org", | |
| "http://localhost:5173" | |
| ] | |
| "https://app.apibuilder.org" | |
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
play.filters.cors.allowedHttpMethodsis defined twice with the same value. In HOCON the last assignment wins, but this duplication is confusing and can hide future changes—please remove the duplicate line and keep a single definition.