mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: CORs option for yarn dev server (#7630)
* chore: Yarn dev servers require CORs headers for external proxies Adds a flag to set CORs headers to `*` for yarn dev servers
This commit is contained in:
@ -161,6 +161,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
|
||||
"sshconfigOptions": ["string"]
|
||||
},
|
||||
"dangerous": {
|
||||
"allow_all_cors": true,
|
||||
"allow_path_app_sharing": true,
|
||||
"allow_path_app_site_owner_access": true
|
||||
},
|
||||
|
@ -1800,6 +1800,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
|
||||
```json
|
||||
{
|
||||
"allow_all_cors": true,
|
||||
"allow_path_app_sharing": true,
|
||||
"allow_path_app_site_owner_access": true
|
||||
}
|
||||
@ -1809,6 +1810,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ---------------------------------- | ------- | -------- | ------------ | ----------- |
|
||||
| `allow_all_cors` | boolean | false | | |
|
||||
| `allow_path_app_sharing` | boolean | false | | |
|
||||
| `allow_path_app_site_owner_access` | boolean | false | | |
|
||||
|
||||
@ -1857,6 +1859,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
"sshconfigOptions": ["string"]
|
||||
},
|
||||
"dangerous": {
|
||||
"allow_all_cors": true,
|
||||
"allow_path_app_sharing": true,
|
||||
"allow_path_app_site_owner_access": true
|
||||
},
|
||||
@ -2201,6 +2204,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
"sshconfigOptions": ["string"]
|
||||
},
|
||||
"dangerous": {
|
||||
"allow_all_cors": true,
|
||||
"allow_path_app_sharing": true,
|
||||
"allow_path_app_site_owner_access": true
|
||||
},
|
||||
|
Reference in New Issue
Block a user