调整接口地址

This commit is contained in:
luofei 2024-04-23 16:56:09 +08:00
parent 7ef94beda1
commit 0c4783e088
4 changed files with 5 additions and 5 deletions

View File

@ -4,5 +4,5 @@ NODE_ENV = production
ENV = 'staging'
# base api
VUE_APP_BASE_API = '/stage-api'
VUE_APP_BASE_API = ''

View File

@ -16,7 +16,7 @@ const SettingMer = {
// 服务器地址
httpUrl: VUE_APP_API_URL,
// 接口请求地址
https: VUE_APP_API_URL + '/mer',
https: VUE_APP_API_URL + '/merApi',
// socket连接
wsSocketUrl: VUE_APP_WS_URL,
// 路由标题

View File

@ -9,9 +9,9 @@
// +----------------------------------------------------------------------
module.exports = {
// 路由前缀
roterPre: '/merchant',
roterPre: '/',
// 路由标题
title: '加载中...',
title: '惠农生活 - 商户端',
/**
* @type {boolean} true | false
* @description Whether show the settings right-panel

View File

@ -27,7 +27,7 @@ module.exports = {
publicPath: '/',
outputDir: 'dist',
assetsDir: 'mer',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'mer.html',
indexPath: 'index.html',
lintOnSave: false,
// lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,