Set host to '127.0.0.1' in vite.config.js

This commit is contained in:
2026-03-20 16:03:54 +01:00
parent 913cf3d39f
commit af39c0af7f

View File

@@ -4,10 +4,11 @@ import react from '@vitejs/plugin-react'
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
server: { server: {
host: '127.0.0.1',
port: 5173, port: 5173,
strictPort: true strictPort: true
}, },
build: { build: {
outDir: 'dist' outDir: 'dist'
} }
}) })