Skip to content

Commit

Permalink
provide proxy support for unsigned certs - used in development only
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jul 5, 2024
1 parent 7d8bd65 commit 20df44c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions webapp-ng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"start_with_proxy": "ng serve --proxy-config proxy.conf.json",
"build": "ng build --configuration production",
"test": "ng test",
"test:ci": "ng test --no-watch --no-progress --browsers=ChromeHeadlessCI",
Expand Down
8 changes: 8 additions & 0 deletions webapp-ng/proxy.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"/api": {
"target": "https://vcell-stage.cam.uchc.edu",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
}

0 comments on commit 20df44c

Please sign in to comment.