Files
Trackeep/Others/oauth-service/vite.config.ts
T
Tomas Dvorak d27cf14110 first test
2026-02-08 14:14:55 +01:00

28 lines
532 B
TypeScript

import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
export default defineConfig({
plugins: [solid()],
server: {
port: 5174,
proxy: {
'/api': {
target: 'http://localhost:9090',
changeOrigin: true,
},
'/auth': {
target: 'http://localhost:9090',
changeOrigin: true,
},
'/health': {
target: 'http://localhost:9090',
changeOrigin: true,
}
}
},
build: {
outDir: '../static',
emptyOutDir: true
}
});