mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 13:02:50 +00:00
fixes
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user