Spaces:
Runtime error
Runtime error
Commit ·
8043a14
1
Parent(s): 61e0019
chore(cf): add KV_ROUTING namespace binding to wrangler.toml
Browse files
website/cloudflare/wrangler.toml
CHANGED
|
@@ -5,6 +5,13 @@ compatibility_date = "2024-01-01"
|
|
| 5 |
[vars]
|
| 6 |
BRAIN_URL = "https://ghostdrive1-ultron1.hf.space"
|
| 7 |
|
| 8 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# npx wrangler secret put AUTH_TOKEN
|
| 10 |
-
#
|
|
|
|
| 5 |
[vars]
|
| 6 |
BRAIN_URL = "https://ghostdrive1-ultron1.hf.space"
|
| 7 |
|
| 8 |
+
# KV namespace binding for dynamic HF Space routing
|
| 9 |
+
# Ghost: run `npx wrangler kv namespace list` to get your namespace ID
|
| 10 |
+
# or reuse v3 KV ID: 77184c17886d47f2be73b6d441ada952
|
| 11 |
+
[[kv_namespaces]]
|
| 12 |
+
binding = "KV_ROUTING"
|
| 13 |
+
id = "77184c17886d47f2be73b6d441ada952"
|
| 14 |
+
|
| 15 |
+
# Secrets — set via CLI before deploy:
|
| 16 |
# npx wrangler secret put AUTH_TOKEN
|
| 17 |
+
# (value: de76095c6d7693000b5d6331847b3c6d5cc3b900ed3cdd96e6c2a7d598fe48d3)
|