summaryrefslogtreecommitdiff
path: root/wrangler-example.jsonc
diff options
context:
space:
mode:
authorRikki <i@rikki.moe>2025-05-26 14:25:17 +0800
committerRikki <i@rikki.moe>2025-05-26 14:25:17 +0800
commit818f6fdcfbfe296dab032af4023d98a1ac566fcf (patch)
treeb09da2a901c1c0e5c97ced1bddccf375b232fa08 /wrangler-example.jsonc
Diffstat (limited to 'wrangler-example.jsonc')
-rw-r--r--wrangler-example.jsonc18
1 files changed, 18 insertions, 0 deletions
diff --git a/wrangler-example.jsonc b/wrangler-example.jsonc
new file mode 100644
index 0000000..4e40221
--- /dev/null
+++ b/wrangler-example.jsonc
@@ -0,0 +1,18 @@
+{
+ "$schema": "node_modules/wrangler/config-schema.json",
+ "name": "workers-embedding",
+ "main": "src/index.ts",
+ "compatibility_date": "2025-05-25",
+ "observability": {
+ "enabled": true
+ },
+ "ai": {
+ "binding": "AI"
+ },
+ "vars": {
+ "ALLOWED_ORIGINS": [
+ "example.com",
+ "someother-domain.com"
+ ]
+ }
+} \ No newline at end of file