You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
697 B
30 lines
697 B
import { defineConfig } from '@vben/vite-config';
|
|
|
|
export default defineConfig(async () => {
|
|
return {
|
|
application: {},
|
|
vite: {
|
|
server: {
|
|
proxy: {
|
|
'/.well-known': {
|
|
changeOrigin: true,
|
|
target: 'http://localhost:30000/',
|
|
},
|
|
'/api': {
|
|
changeOrigin: true,
|
|
target: 'http://localhost:30000/',
|
|
},
|
|
'/connect': {
|
|
changeOrigin: true,
|
|
target: 'http://localhost:30000/',
|
|
},
|
|
'/signalr-hubs': {
|
|
changeOrigin: true,
|
|
target: 'http://localhost:30000/',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
});
|
|
|