Browse Source

feat: Change the server address

pull/1529/head
colin 3 months ago
parent
commit
88ad257cb3
  1. 8
      apps/vben5/apps/app-antd/vite.config.mts

8
apps/vben5/apps/app-antd/vite.config.mts

@ -8,19 +8,19 @@ export default defineConfig(async () => {
proxy: { proxy: {
'/.well-known': { '/.well-known': {
changeOrigin: true, changeOrigin: true,
target: 'http://99.22.20.9:30000/', target: 'http://localhost:30000/',
}, },
'/api': { '/api': {
changeOrigin: true, changeOrigin: true,
target: 'http://99.22.20.9:30000/', target: 'http://localhost:30000/',
}, },
'/connect': { '/connect': {
changeOrigin: true, changeOrigin: true,
target: 'http://99.22.20.9:30000/', target: 'http://localhost:30000/',
}, },
'/signalr-hubs': { '/signalr-hubs': {
changeOrigin: true, changeOrigin: true,
target: 'http://99.22.20.9:30000/', target: 'http://localhost:30000/',
ws: true, ws: true,
}, },
}, },

Loading…
Cancel
Save