This commit is contained in:
Estifo77
2026-08-18 11:59:46 +03:00
parent 1dc82d943a
commit eb0b1b7d80

View File

@@ -9,10 +9,19 @@ export default defineConfig({
// its built-in default.
envDir: '../../',
cacheDir: '../../node_modules/.vite/apps/backoffice',
// server: {
// port: 4201,
// host: 'localhost',
// },
server: {
port: 4201,
host: 'localhost',
port: 4201,
proxy: {
'/api': {
target: 'http://localhost:3000', // change from 'https://ema-api-dev.triaplc.com'
changeOrigin: true,
},
},
},
preview: { port: 4201, host: 'localhost' },
plugins: [react(), nxViteTsPaths()],
resolve: {