Commit 6d20d7f1 authored by Raphaël Flores's avatar Raphaël Flores
Browse files

Repair dev mode according to custom app port and custom baseHref.

parent bd34041e
......@@ -57,7 +57,8 @@
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.rare.ts"
}
]
],
"baseHref": "/rare-dev/"
},
"rare-production": {
"fileReplacements": [
......@@ -83,7 +84,7 @@
"with": "src/environments/environment.wheatis.ts"
}
],
"baseHref": "./",
"baseHref": "/wheatis-dev/",
"stylePreprocessorOptions": {
"includePaths": [
"src/assets/wheatis/"
......
const PROXY_CONFIG = [
{
context: [
"/rare/api",
"/rare/actuator",
"/wheatis/api",
"/wheatis/actuator"
"/rare-dev/api",
"/rare-dev/actuator",
],
target: "http://localhost:8080",
secure: false
},
{
context: [
"/wheatis-dev/api",
"/wheatis-dev/actuator"
],
target: "http://localhost:8081",
secure: false
}
];
......
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