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:
@@ -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()
|
||||
|
||||
@@ -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]: ''
|
||||
|
||||
Reference in New Issue
Block a user