1
This commit is contained in:
@@ -13,17 +13,15 @@ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded
|
||||
// axios.defaults.baseURL = 'http://testtougao.tmrjournals.com/public/index.php/'
|
||||
// axios.defaults.baseURL = 'http://www.tougao.com/'
|
||||
|
||||
// 记得切换
|
||||
//
|
||||
const service = axios.create({
|
||||
// baseURL: 'http://testtougao.tmrjournals.com/public/index.php/',
|
||||
// baseURL: 'https://submission.tmrjournals.com/', //正式 记得切换
|
||||
// baseURL: 'http://www.tougao.com/', //测试本地 记得切换
|
||||
// baseURL: '/api', //本地
|
||||
baseURL: '/', //正式
|
||||
// baseURL: 'http://www.tougao.com/public/index.php/',
|
||||
baseURL: '/',
|
||||
});
|
||||
|
||||
const service_new = axios.create({
|
||||
baseURL: 'http://journal.com/',
|
||||
baseURL: 'http://journal.com/',
|
||||
// baseURL: '/',
|
||||
});
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ module.exports = {
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'https://www.tmrjournals.cn',
|
||||
// target: 'http://www.tougao.com/',
|
||||
// target: 'http://www.tougao.com/public/index.php/',
|
||||
target: 'https://submission.tmrjournals.com/',//正式
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user