| | |
| | | VITE_APP_ENV = 'development' |
| | | |
| | | # 图片地址 |
| | | VITE_APP_IMG_BASEURL='http://192.168.0.200:8036/upload' |
| | | VITE_APP_IMG_BASEURL='/api/upload' |
| | | |
| | | # 南京接口 |
| | | # VITE_APP_PUBLIC_REQUEST_API = 'http://113.250.189.120:8038' |
| | | #后端本地 |
| | | VITE_APP_PUBLIC_REQUEST_API = 'http://192.168.0.200:8038' |
| | | VITE_APP_PUBLIC_REQUEST_API = '/api' |
| | |
| | | VITE_APP_ENV = 'production' |
| | | |
| | | # 图片地址 |
| | | VITE_APP_IMG_BASEURL = 'http://113.250.189.120:8036/upload' |
| | | VITE_APP_IMG_BASEURL = '/api/upload' |
| | | |
| | | # 南京管理系统/开发环境 |
| | | VITE_APP_PUBLIC_REQUEST_API = 'http://127.0.0.1:8038' |
| | | VITE_APP_PUBLIC_REQUEST_API = '/api' |
| | | # 是否在打包时开启压缩,支持 gzip 和 brotli |
| | | VITE_BUILD_COMPRESS = gzip |
| | |
| | | <link rel="icon" href="/favicon.ico"> |
| | | <title>南京康尼地铁泵站监测服务系统</title> |
| | | <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> |
| | | <script type="text/javascript" src="./public/jessibuca.js"></script> |
| | | <script type="text/javascript" src="/jessibuca.js"></script> |
| | | |
| | | <style> |
| | | html, |
| | |
| | | open: true, |
| | | proxy: { |
| | | // https://cn.vitejs.dev/config/#server-proxy |
| | | '/dev-api': { |
| | | target: 'http://localhost:8080', |
| | | '/api': { |
| | | target: 'http://192.168.0.200:8038', |
| | | changeOrigin: true, |
| | | rewrite: (p) => p.replace(/^\/dev-api/, '') |
| | | rewrite: (p) => p.replace(/^\/api/, '') |
| | | } |
| | | } |
| | | }, |