Spaces:
Build error
Build error
Delete config.yaml
Browse files- config.yaml +0 -18
config.yaml
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
listen: "0.0.0.0:17285"
|
| 2 |
-
|
| 3 |
-
# 允许任何来源调用(HuggingFace 必须)
|
| 4 |
-
cors:
|
| 5 |
-
enabled: true
|
| 6 |
-
allow_origins: ["*"]
|
| 7 |
-
allow_methods: ["GET", "POST", "OPTIONS"]
|
| 8 |
-
allow_headers: ["*"]
|
| 9 |
-
|
| 10 |
-
# 转发规则:main.ts 会向 dynamic-proxy POST:
|
| 11 |
-
# { "target": "https://xxx", "payload": {...} }
|
| 12 |
-
# 所以我们只需要允许 proxy 的 / 端点
|
| 13 |
-
routes:
|
| 14 |
-
- route: "/"
|
| 15 |
-
upstream: ""
|
| 16 |
-
strip_path: false
|
| 17 |
-
preserve_host: false
|
| 18 |
-
enable_websocket: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|