Video_AdGenesis_App / frontend /vite.config.ts
sushilideaclan01's picture
first push
91d209c
raw
history blame contribute delete
391 Bytes
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:4000',
changeOrigin: true,
},
},
},
});