dalao-proxy
Version:
An expandable HTTP proxy based on the plug-in system for frontend developers with request caching request mock and development!
25 lines (23 loc) • 520 B
JavaScript
const version = require('../package.json').version;
const config = {
version: version,
"configFileName": "dalao.config",
"logger": true,
"secure": false,
"watch": true,
"host": "localhost",
"port": 8000,
"target": "target.example.com",
"changeOrigin": true,
"headers": {},
"proxyTable": {
"/": {
"path": "/",
"changeOrigin": true,
}
},
"plugins": [
"BuildIn:plugin/check-version"
],
};
module.exports = config;