Skip to content

Commit

Permalink
default js mock to allow non-local connections
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Mar 7, 2024
1 parent 1993069 commit c0597e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions karate-core/src/main/java/com/intuit/karate/Main.java
Expand Up @@ -390,6 +390,7 @@ public Void call() throws Exception {
return context;
});
HttpServer.Builder builder = HttpServer.config(config)
.local(false)
.corsEnabled(true);
if (ssl) {
builder.https(port);
Expand Down

0 comments on commit c0597e5

Please sign in to comment.