Files
revsuit/frontend/vue.config.js
T
Li4n0 d1013c2416 fix(frontend): fix the bug of autoRefresh (#27)
Fix the bug that autoRefresh fails after switching back to log from rule.
2021-06-11 23:59:23 +08:00

25 lines
529 B
JavaScript

// vue.config.js
const path = require('path');
// eslint-disable-next-line no-unused-vars
function resolve(dir) {
return path.join(__dirname, dir)
}
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://localhost:10000',
pathRewrite: {
'^/api': '/revsuit/api'
}
}
},
},
productionSourceMap: false,
runtimeCompiler: true,
filenameHashing: false,
publicPath: '/revsuit/admin/',
}