16 lines
331 B
TypeScript
16 lines
331 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
host: '0.0.0.0',
|
|
strictPort: false, // Tenta outra porta se 5173 estiver ocupada
|
|
allowedHosts: ['smartagenda.epvc.pt', 'localhost', '127.0.0.1'],
|
|
},
|
|
});
|
|
|
|
|
|
|