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:
Steven Masley
2023-05-22 20:02:39 +02:00
committed by GitHub
parent 1f4f0efed6
commit 5d711fc95a
13 changed files with 80 additions and 18 deletions
+3
View File
@@ -7252,6 +7252,9 @@ const docTemplate = `{
"codersdk.DangerousConfig": {
"type": "object",
"properties": {
"allow_all_cors": {
"type": "boolean"
},
"allow_path_app_sharing": {
"type": "boolean"
},
+3
View File
@@ -6454,6 +6454,9 @@
"codersdk.DangerousConfig": {
"type": "object",
"properties": {
"allow_all_cors": {
"type": "boolean"
},
"allow_path_app_sharing": {
"type": "boolean"
},