Merge pull request 'xiaozy' (#4) from xiaozy into master

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2023-04-12 08:34:01 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import vConsole from 'vconsole'
if (process.env.VUE_APP_ENV !== 'production') {
new vConsole()
}
// new vConsole()
Vue.use(PiniaVuePlugin)
const pinia = createPinia()

View File

@@ -17,8 +17,8 @@ module.exports = defineConfig({
proxy: {
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.1.83:38080`,
// target: `https://www.xingoil.com/adminapi`,
target: `http://uat.xingoil.com/adminapi`,
target: `https://www.xingoil.com/adminapi`,
// target: `http://uat.xingoil.com/adminapi`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''