DUNGEONS-34: implement Webka local streaming app
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
52
frontend/nuxt.config.ts
Normal file
52
frontend/nuxt.config.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: "2025-07-01",
|
||||
ssr: false,
|
||||
devtools: { enabled: false },
|
||||
modules: ["@pinia/nuxt", "@nuxtjs/i18n"],
|
||||
css: ["~/assets/css/main.css"],
|
||||
app: {
|
||||
head: {
|
||||
title: "Webka",
|
||||
meta: [
|
||||
{
|
||||
name: "viewport",
|
||||
content: "width=device-width, initial-scale=1, viewport-fit=cover",
|
||||
},
|
||||
{ name: "theme-color", content: "#101217" },
|
||||
],
|
||||
},
|
||||
},
|
||||
i18n: {
|
||||
strategy: "no_prefix",
|
||||
defaultLocale: "en",
|
||||
locales: [
|
||||
{ code: "en", name: "English", file: "en.json" },
|
||||
{ code: "ru", name: "Русский", file: "ru.json" },
|
||||
{ code: "es", name: "Español", file: "es.json" },
|
||||
],
|
||||
detectBrowserLanguage: {
|
||||
useCookie: true,
|
||||
cookieKey: "webka_locale",
|
||||
fallbackLocale: "en",
|
||||
redirectOn: "root",
|
||||
},
|
||||
},
|
||||
nitro: {
|
||||
devProxy: {
|
||||
"/api": {
|
||||
target: "http://127.0.0.1:3001/api",
|
||||
ws: true,
|
||||
changeOrigin: false,
|
||||
},
|
||||
},
|
||||
prerender: {
|
||||
routes: [
|
||||
"/login",
|
||||
"/host",
|
||||
"/watch",
|
||||
"/settings/accounts",
|
||||
"/settings/general",
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user