This commit is contained in:
poc
2026-10-10 17:27:07 +00:00
commit b2193b7190

29
output Normal file
View 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]