14 lines
277 B
JavaScript
14 lines
277 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
proxy: {
|
|
'/channels': 'http://127.0.0.1:5000',
|
|
'/search': 'http://127.0.0.1:5000'
|
|
}
|
|
}
|
|
});
|