- 提交 jenkins 构建规则,和 node服务

This commit is contained in:
sin
2019-03-10 11:47:49 +08:00
parent 19eb551a88
commit 679a087e7c
8 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
//
// 粉笔:
// 输出不同颜色的提示信息
const chalk = require('chalk');
module.exports = {
chalkError: chalk.red,
chalkSuccess: chalk.green,
chalkWarning: chalk.yellow,
chalkProcessing: chalk.blue,
};

View File

@@ -0,0 +1,12 @@
module.exports = {
'/admin-api/': {
target: 'http://180.167.213.26:18083/',
changeOrigin: true,
pathRewrite: {},
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',
changeOrigin: true,
pathRewrite: { '^/server': '' },
},
};