Skip to content

Commit f4fbe7a

Browse files
phareimclaude
andcommitted
Add temporary debug endpoint to check env var availability
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 93f2c41 commit f4fbe7a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

server/api/debug-env.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export default defineEventHandler(() => {
2+
const config = useRuntimeConfig()
3+
return {
4+
hasVeniceKey: !!config.veniceKey,
5+
hasOpenaiKey: !!config.openaiApiKey,
6+
hasFalKey: !!config.falKey,
7+
hasAdminPassword: !!config.adminPassword,
8+
hasWavespeedKey: !!config.wavespeedKey,
9+
}
10+
})

0 commit comments

Comments
 (0)