This commit is contained in:
40
apps/web/nuxt.config.ts
Normal file
40
apps/web/nuxt.config.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: false },
|
||||
css: ['~/assets/css/main.css'],
|
||||
modules: [],
|
||||
runtimeConfig: {
|
||||
aiProvider: process.env.AI_PROVIDER ?? 'openrouter',
|
||||
openrouterApiKey: process.env.OPENROUTER_API_KEY,
|
||||
openrouterModel: process.env.OPENROUTER_MODEL ?? 'deepseek/deepseek-v4-flash',
|
||||
openrouterApiEndpoint: process.env.OPENROUTER_API_ENDPOINT ?? 'https://openrouter.ai/api/v1/chat/completions',
|
||||
deepseekApiKey: process.env.DEEPSEEK_API_KEY,
|
||||
deepseekModel: process.env.DEEPSEEK_MODEL ?? 'deepseek-v4-flash',
|
||||
deepseekApiEndpoint: process.env.DEEPSEEK_API_ENDPOINT ?? 'https://api.deepseek.com/chat/completions',
|
||||
redisUrl: process.env.REDIS_URL,
|
||||
supabaseUrl: process.env.SUPABASE_URL,
|
||||
supabaseServiceRoleKey: process.env.SUPABASE_SERVICE_ROLE_KEY,
|
||||
public: {
|
||||
supabaseUrl: process.env.NUXT_PUBLIC_SUPABASE_URL,
|
||||
supabaseAnonKey: process.env.NUXT_PUBLIC_SUPABASE_ANON_KEY,
|
||||
appUrl: process.env.NUXT_PUBLIC_APP_URL ?? 'http://localhost:3000',
|
||||
},
|
||||
},
|
||||
// Run `nuxt typecheck` separately. Keeping build-time checking off also avoids
|
||||
// shell quoting issues when the repository path contains an ampersand.
|
||||
typescript: { strict: true, typeCheck: false },
|
||||
app: {
|
||||
head: {
|
||||
title: 'Dungeons & Ground — Stories that wait for no one',
|
||||
meta: [
|
||||
{ name: 'description', content: 'Create a private universe, gather your party, and let an AI Game Master keep the adventure moving.' },
|
||||
{ name: 'theme-color', content: '#0a0a0a' },
|
||||
],
|
||||
link: [
|
||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
||||
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Unbounded:wght@500;600;700&display=swap' },
|
||||
],
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user