Files
ledgerdock/frontend/vite.config.ts

21 lines
403 B
TypeScript

/**
* Vite configuration for the DMS frontend application.
*/
import { defineConfig } from 'vite';
/**
* Exports frontend build and dev-server settings.
*/
export default defineConfig({
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/api/v1': {
target: process.env.VITE_DEV_PROXY_TARGET ?? 'http://localhost:8000',
changeOrigin: true,
},
},
},
});