Spaces:
Sleeping
Sleeping
Update settings.yaml
Browse files- settings.yaml +4 -9
settings.yaml
CHANGED
@@ -5,15 +5,10 @@ server:
|
|
5 |
env_name: ${APP_ENV:prod}
|
6 |
port: ${PORT:8001}
|
7 |
cors:
|
8 |
-
enabled:
|
9 |
-
allow_origins:
|
10 |
-
|
11 |
-
|
12 |
-
- "GET"
|
13 |
-
- "POST"
|
14 |
-
allow_headers:
|
15 |
-
- "Content-Type"
|
16 |
-
- "Authorization"
|
17 |
auth:
|
18 |
enabled: false
|
19 |
# python -c 'import base64; print("Basic " + base64.b64encode("secret:key".encode()).decode())'
|
|
|
5 |
env_name: ${APP_ENV:prod}
|
6 |
port: ${PORT:8001}
|
7 |
cors:
|
8 |
+
enabled: false
|
9 |
+
allow_origins: ["*"]
|
10 |
+
allow_methods: ["*"]
|
11 |
+
allow_headers: ["*"]
|
|
|
|
|
|
|
|
|
|
|
12 |
auth:
|
13 |
enabled: false
|
14 |
# python -c 'import base64; print("Basic " + base64.b64encode("secret:key".encode()).decode())'
|