context: path.resolve(__dirname, "src"),
entry: {
- performanceHistoryApp: ["./plugin.tsx"]
+ performanceHistoryApp: ["./pluginPerformance.tsx"]
},
devtool: env === "release" ? false : "source-map",
colors: true
},
proxy: {
- "/restconf": {
- target: "http://localhost:8181",
+ "/oauth2/": {
+ target: "http://10.20.6.29:48181",
secure: false
},
- "/database": {
- target: "http://localhost:8181",
+ "/database/": {
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/restconf/": {
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/rests/": {
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/help/": {
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/websocket": {
+ target: "http://10.20.6.29:48181",
+ ws: true,
+ changeOrigin: true,
secure: false
}
}