chore: fix js fetch error

This commit is contained in:
engigu
2026-03-26 12:04:41 +08:00
parent 44ae521356
commit 926806f890
2 changed files with 2 additions and 4 deletions
-3
View File
@@ -97,8 +97,5 @@ export default defineConfig({
}
},
define: {
// Define MONACO_BASE_URL for monaco-editor to correctly load its workers and assets
// This path should match the destination of viteStaticCopy for monaco-editor's 'vs' folder
MONACO_BASE_URL: JSON.stringify('./assets/vs')
}
})