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. // its built-in default.
envDir: '../../', envDir: '../../',
cacheDir: '../../node_modules/.vite/apps/backoffice', cacheDir: '../../node_modules/.vite/apps/backoffice',
// server: {
// port: 4201,
// host: 'localhost',
// },
server: { server: {
port: 4201, port: 4201,
host: 'localhost', proxy: {
'/api': {
target: 'http://localhost:3000', // change from 'https://ema-api-dev.triaplc.com'
changeOrigin: true,
},
}, },
},
preview: { port: 4201, host: 'localhost' }, preview: { port: 4201, host: 'localhost' },
plugins: [react(), nxViteTsPaths()], plugins: [react(), nxViteTsPaths()],
resolve: { resolve: {