diff --git a/ClientApp/staff-db-ui/angular.json b/ClientApp/staff-db-ui/angular.json index f5d8a56..40388b4 100644 --- a/ClientApp/staff-db-ui/angular.json +++ b/ClientApp/staff-db-ui/angular.json @@ -191,7 +191,8 @@ "options": { "liveReload": false, "port": 4204, - "buildTarget": "staffdb:build" + "buildTarget": "staffdb:build", + "proxyConfig": "proxy.conf.json" }, "configurations": { "production": { diff --git a/ClientApp/staff-db-ui/proxy.conf.json b/ClientApp/staff-db-ui/proxy.conf.json new file mode 100644 index 0000000..84ee36d --- /dev/null +++ b/ClientApp/staff-db-ui/proxy.conf.json @@ -0,0 +1,7 @@ +{ + "/api": { + "target": "https://localhost:7202", + "secure": false, + "changeOrigin": true + } +} \ No newline at end of file