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
269286763e
commit
e46306389e
@ -25,17 +25,11 @@
|
|||||||
* https:// developers.cloudflare.com/workers/runtime-apis/bindings/
|
* https:// developers.cloudflare.com/workers/runtime-apis/bindings/
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Environment Variables
|
* Secrets (sensitive data)
|
||||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
* https://developers.cloudflare.com/workers/configuration/secrets/
|
||||||
*/
|
* OPENROUTER_API_KEY is configured as a secret via:
|
||||||
"vars": {
|
* wrangler pages secret put OPENROUTER_API_KEY
|
||||||
"OPENROUTER_API_KEY": ""
|
* For local dev: Add to .dev.vars file
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Note: Use secrets to store 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
|
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Static Assets
|
* Static Assets
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user