微调
This commit is contained in:
@@ -4,23 +4,23 @@ module.exports = {
|
||||
assetsDir: 'static',
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号
|
||||
// port: '8080',
|
||||
// open: true,
|
||||
// overlay: {
|
||||
// warnings: false,
|
||||
// errors: true
|
||||
// },
|
||||
// proxy: {
|
||||
// '/api': {
|
||||
// // target: 'https://www.tmrjournals.cn',
|
||||
// target: 'https://submission.tmrjournals.com/',
|
||||
// changeOrigin: true,
|
||||
// pathRewrite: {
|
||||
// '^/api': ''
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号
|
||||
port: '8080',
|
||||
open: true,
|
||||
overlay: {
|
||||
warnings: false,
|
||||
errors: true
|
||||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'https://www.tmrjournals.cn',
|
||||
target: 'https://submission.tmrjournals.com/',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/api': ''
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// devServer: {
|
||||
|
||||
Reference in New Issue
Block a user