diff --git a/config/index.js b/config/index.js index 1a2199fe6f3b96fa7057ce9497b8e5e31827e9f1..8f8f63f9b987d8703d03775fa97ee50372542bfa 100644 --- a/config/index.js +++ b/config/index.js @@ -9,7 +9,15 @@ module.exports = { // Paths assetsSubDirectory: "static", assetsPublicPath: "/", - + proxyTable: { + "/apaas": { + target: "https://apaas3.wodcloud.com/apaas/", + changeOrigin: true, + pathRewrite: { + "^/apaas": "" + } + } + }, // Various Dev Server settings 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