leak
This commit is contained in:
29
output
Normal file
29
output
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
=== assetblue
|
||||||
|
T08 · .env.local — RESEND_API_KEY, RESEND_AUDIENCE_ID
|
||||||
|
[data-theme="light"] input[type="password"],
|
||||||
|
=== invncbl
|
||||||
|
- API key stored in `.env` (EXPO_PUBLIC_OPENROUTER_API_KEY)
|
||||||
|
.env # EXPO_PUBLIC_OPENROUTER_API_KEY
|
||||||
|
function getApiKey(): string {
|
||||||
|
const key = process.env.EXPO_PUBLIC_OPENROUTER_API_KEY ?? '';
|
||||||
|
console.warn('OPENROUTER_API_KEY not set — AI responses will fall back to mock');
|
||||||
|
const apiKey = getApiKey();
|
||||||
|
if (!apiKey) {
|
||||||
|
'Authorization': `Bearer ${apiKey}`,
|
||||||
|
const apiKey = getApiKey();
|
||||||
|
if (!apiKey) {
|
||||||
|
'Authorization': `Bearer ${apiKey}`,
|
||||||
|
=== invncbl-v2
|
||||||
|
EXPO_PUBLIC_OPENROUTER_API_KEY=
|
||||||
|
AUTHKEY_API_KEY=
|
||||||
|
const apiKey = process.env.OPENROUTER_API_KEY;
|
||||||
|
if (!apiKey) {
|
||||||
|
"OPENROUTER_API_KEY environment variable is not set. " +
|
||||||
|
Authorization: `Bearer ${apiKey}`,
|
||||||
|
const apiKey = process.env.AUTHKEY_API_KEY;
|
||||||
|
if (!apiKey) throw new Error("AUTHKEY_API_KEY not configured");
|
||||||
|
Authorization: `Bearer ${apiKey}`,
|
||||||
|
const apiKey = process.env.AUTHKEY_API_KEY;
|
||||||
|
if (!apiKey) throw new Error("AUTHKEY_API_KEY not configured");
|
||||||
|
Authorization: `Bearer ${apiKey}`,
|
||||||
|
[rc=0]
|
||||||
Reference in New Issue
Block a user