You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
const path = require('path')
|
|
|
|
|
const fs = require('fs')
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
devServer: {
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
|
|
|
|
target: 'http://127.0.0.1:8888',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
ws: false,
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
'^/api': ''
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|