-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Could the default CORS list be changed to *?
phoebus-olog/src/main/resources/application.properties
Lines 143 to 147 in 02cf56c
| ############################## CORS settings ############################## | |
| # Comma separated list of origins allowed to do CORS requests. | |
| # Defaults to http://localhost:3000 (NodeJS development), but must be augmented | |
| # with the origin(s) on which the web front-end is deployed. | |
| #cors.allowed.origins=http://localhost:3000 |
phoebus-olog/src/main/java/org/phoebus/olog/FileUploadSizeExceededHandler.java
Lines 43 to 48 in 02cf56c
| /** | |
| * Specifies the allowed origins for CORS requests. Defaults to http://localhost:3000, | |
| * which is useful during development of the web front-end in NodeJS. | |
| */ | |
| @Value("${cors.allowed.origins:http://localhost:3000}") | |
| private String corsAllowedOrigins; |
| headers.add("Access-Control-Allow-Origin", corsAllowedOrigins); |
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels