Commit 409a60fe authored by 刘殿昕's avatar 刘殿昕

...can't resolve 404,copy from nxzh

parent 39dc8973
...@@ -9,7 +9,15 @@ module.exports = { ...@@ -9,7 +9,15 @@ module.exports = {
// Paths // Paths
assetsSubDirectory: "static", assetsSubDirectory: "static",
assetsPublicPath: "/", assetsPublicPath: "/",
proxyTable: {
"/apaas": {
target: "https://apaas3.wodcloud.com/apaas/",
changeOrigin: true,
pathRewrite: {
"^/apaas": ""
}
}
},
// Various Dev Server settings // Various Dev Server settings
host: "localhost", // can be overwritten by process.env.HOST host: "localhost", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment