fix: local host

This commit is contained in:
Danny 2026-01-30 10:48:50 -06:00
parent f7db9937b7
commit d4fe82e9a4
1 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,14 @@ export default defineConfig({
}, },
server: { server: {
port: 3000, port: 3000,
host: true host: true,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
}
}
}, },
build: { build: {
outDir: 'dist', outDir: 'dist',