Skip to content

Commit

Permalink
add localhost:4200 to CORS origins for debugging webapp against prod
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed May 7, 2024
1 parent 3936e6b commit 4d7e4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcell-rest/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
quarkus.http.port=9000
quarkus.http.cors=true
%prod.quarkus.http.cors.origins=http://vcellapi-test.cam.uchc.edu,https://vcellapi-test.cam.uchc.edu
%prod.quarkus.http.cors.origins=http://vcellapi-test.cam.uchc.edu,https://vcellapi-test.cam.uchc.edu,http://localhost:4200
%prod.quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
%dev.quarkus.http.cors.origins=/.*/
%dev.quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
Expand Down

0 comments on commit 4d7e4f2

Please sign in to comment.