@@ -1,2 +1,2 @@
-VITE_API_HOST = 'http://localhost/api'
-VITE_BASE_URL = '/'
+VITE_API_HOST = 'http://192.168.14.224/Customer_Service_Online'
+VITE_BASE_URL = '/k_new_online/'
@@ -52,13 +52,13 @@ export default defineConfig(({ mode }) => {
})
],
server: {
- port: 80,
+ port: 8080,
hmr: true,
open: true,
// 设置 https 代理
proxy: {
'/api': {
- target: 'https://online-beta.kln.com/online_backend',
+ target: 'http://192.168.14.224',
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/api/, '')
}