mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-31 06:54:35 +00:00
The supermemory-app Cloudflare Worker lost its cf:service=supermemory tag after a batch redeployment. Add the tags field to wrangler.jsonc so the tag is applied on every subsequent deploy, preventing it from being silently dropped again. No worker code, bindings, or other configuration is changed. Co-authored-by: Dhravya Shah <dhravya@supermemory.com>
32 lines
911 B
JSON
32 lines
911 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"main": ".open-next/worker.js",
|
|
"name": "supermemory-app",
|
|
"tags": ["cf:service=supermemory"],
|
|
"compatibility_date": "2024-12-30",
|
|
"compatibility_flags": [
|
|
// Enable Node.js API
|
|
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#nodejs-compatibility-flag
|
|
"nodejs_compat",
|
|
// Allow to fetch URLs in your app
|
|
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
|
|
"global_fetch_strictly_public"
|
|
],
|
|
"assets": {
|
|
"directory": ".open-next/assets",
|
|
"binding": "ASSETS"
|
|
},
|
|
"services": [
|
|
{
|
|
"binding": "WORKER_SELF_REFERENCE",
|
|
// The service should match the "name" of your worker
|
|
"service": "supermemory-app"
|
|
}
|
|
],
|
|
"r2_buckets": [
|
|
{
|
|
"binding": "NEXT_INC_CACHE_R2_BUCKET",
|
|
"bucket_name": "supermemory-console-cache"
|
|
}
|
|
]
|
|
}
|