Fix: strictPort:true verhindert Vite auf falschem Port

Wenn Port 5173 belegt ist schlägt npm run dev sofort fehl statt
still auf 5174 zu wechseln — nginx würde dann ins Leere proxyen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main v1.1.159
boban 2026-04-23 06:20:27 +02:00
parent c1d5ca1988
commit acab5d4c84
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export default ({mode}) => {
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
hmr: {
host: 'ui.dev.mail.nexlab.at',