Remove OPENROUTER_API_KEY from vars (already configured as secret)
Fixes deployment error caused by binding name conflict. The API key is properly configured as a Cloudflare Pages secret. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
11cd000766
commit
a81e921f39
@ -25,17 +25,11 @@
|
||||
* https:// developers.cloudflare.com/workers/runtime-apis/bindings/
|
||||
*/
|
||||
/**
|
||||
* Environment Variables
|
||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
||||
*/
|
||||
"vars": {
|
||||
"OPENROUTER_API_KEY": ""
|
||||
},
|
||||
/**
|
||||
* Note: Use secrets to store sensitive data.
|
||||
* Secrets (sensitive data)
|
||||
* https://developers.cloudflare.com/workers/configuration/secrets/
|
||||
* For dev: Add OPENROUTER_API_KEY to .dev.vars file
|
||||
* For production: Use wrangler secret put OPENROUTER_API_KEY
|
||||
* OPENROUTER_API_KEY is configured as a secret via:
|
||||
* wrangler pages secret put OPENROUTER_API_KEY
|
||||
* For local dev: Add to .dev.vars file
|
||||
*/
|
||||
/**
|
||||
* Static Assets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user