diff --git a/app/src/main/java/gov/hhs/cdc/trustedintermediary/external/javalin/App.java b/app/src/main/java/gov/hhs/cdc/trustedintermediary/external/javalin/App.java index 234c6780a..e0b9eb675 100644 --- a/app/src/main/java/gov/hhs/cdc/trustedintermediary/external/javalin/App.java +++ b/app/src/main/java/gov/hhs/cdc/trustedintermediary/external/javalin/App.java @@ -52,7 +52,9 @@ public static void main(String[] args) { cors.addRule( it -> { it.allowCredentials = true; - it.anyHost(); + it.allowHost("http://localhost:8080"); + it.allowHost("http://127.0.0.1:8080"); + it.allowHost("http://172.17.0.1:8080"); }); }); })