28 lines
807 B
TypeScript
28 lines
807 B
TypeScript
|
|
// One static SPA build serves the web and the later Steam wrapper, so no SSR anywhere.
|
||
|
|
export default defineNuxtConfig({
|
||
|
|
compatibilityDate: '2026-10-28',
|
||
|
|
ssr: false,
|
||
|
|
devtools: { enabled: false },
|
||
|
|
|
||
|
|
modules: ['@nuxtjs/i18n'],
|
||
|
|
|
||
|
|
i18n: {
|
||
|
|
defaultLocale: 'en',
|
||
|
|
strategy: 'no_prefix',
|
||
|
|
locales: [{ code: 'en', name: 'English' }],
|
||
|
|
vueI18n: 'i18n.config.ts',
|
||
|
|
},
|
||
|
|
|
||
|
|
// Override per environment with NUXT_PUBLIC_<KEY>, e.g. NUXT_PUBLIC_MOCK_SERVER=false.
|
||
|
|
runtimeConfig: {
|
||
|
|
public: {
|
||
|
|
SERVER_URL: 'https://server-village.localhost.at',
|
||
|
|
WEBS_URL: 'ws-server-village.localhost.at',
|
||
|
|
WS_PROTOCOL: 'wss',
|
||
|
|
PUSHER_APP_KEY: 'websocket',
|
||
|
|
// Until the backend exists, an in-browser fake answers the same WS intents (app/mock/).
|
||
|
|
MOCK_SERVER: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
})
|