Files
smartagenda_pap/web/vite.config.ts

17 lines
345 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', // Permite acesso de outras interfaces
strictPort: false, // Tenta outra porta se 5173 estiver ocupada
allowedHosts: ['smartagenda.epvc.pt'],
},
});