环境配置
This commit is contained in:
@ -4,12 +4,12 @@ module.exports = {
|
|||||||
// configureWebpack: () => ({
|
// configureWebpack: () => ({
|
||||||
// devtool: 'source-map'
|
// devtool: 'source-map'
|
||||||
// }),
|
// }),
|
||||||
host: 'kuboard-develop',
|
host: 'kb',
|
||||||
port: 8000,
|
port: 8000,
|
||||||
devServer: {
|
devServer: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/uc-api/': {
|
'/uc-api/': {
|
||||||
target: 'http://kuboard-develop:8080',
|
target: 'http://kb:8080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/uc-api': '/'
|
'^/uc-api': '/'
|
||||||
|
|||||||
1
js-config.json
Normal file
1
js-config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Reference in New Issue
Block a user