Skip to content

Commit ca1373a

Browse files
author
Alexander Bainczyk
committed
update angular proxy configuration
1 parent eafab8f commit ca1373a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

frontend/src/main/javascript/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"serve": {
7070
"builder": "@angular-devkit/build-angular:dev-server",
7171
"options": {
72-
"browserTarget": "alex-frontend:build"
72+
"browserTarget": "alex-frontend:build",
73+
"proxyConfig": "proxy.conf.js"
7374
},
7475
"configurations": {
7576
"production": {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
context: ["/rest"],
3+
target: "http://localhost:8000",
4+
secure: false
5+
};

frontend/src/main/javascript/proxy.conf.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)