GitHub Action 1 mese fa
parent
commit
05c3bc27ff
2 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 4 0
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 7 0
      packages/sdk/openapi.json

+ 4 - 0
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1177,6 +1177,10 @@ export type ServerConfig = {
    * Enable mDNS service discovery
    */
   mdns?: boolean
+  /**
+   * Additional domains to allow for CORS
+   */
+  cors?: Array<string>
 }
 
 export type AgentConfig = {

+ 7 - 0
packages/sdk/openapi.json

@@ -7793,6 +7793,13 @@
           "mdns": {
             "description": "Enable mDNS service discovery",
             "type": "boolean"
+          },
+          "cors": {
+            "description": "Additional domains to allow for CORS",
+            "type": "array",
+            "items": {
+              "type": "string"
+            }
           }
         },
         "additionalProperties": false