fix(web): serve Nitro assets reliably
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -3,6 +3,13 @@ export default defineNuxtConfig({
|
||||
devtools: { enabled: false },
|
||||
css: ['~/assets/css/main.css'],
|
||||
modules: [],
|
||||
nitro: {
|
||||
// Nitro 2.10 resolves file-backed assets relative to its split runtime
|
||||
// chunk, which makes every /_nuxt request fail outside the Docker-only
|
||||
// symlink workaround. Embedding them keeps every production launcher
|
||||
// (preview, Docker, and managed hosts) on the same reliable code path.
|
||||
serveStatic: 'inline',
|
||||
},
|
||||
runtimeConfig: {
|
||||
aiProvider: process.env.AI_PROVIDER ?? 'openrouter',
|
||||
openrouterApiKey: process.env.OPENROUTER_API_KEY,
|
||||
|
||||
Reference in New Issue
Block a user