Skip to content

Commit c0597e5

Browse files
committed
default js mock to allow non-local connections
1 parent 1993069 commit c0597e5

File tree

1 file changed

+1
-0
lines changed
  • karate-core/src/main/java/com/intuit/karate

1 file changed

+1
-0
lines changed

karate-core/src/main/java/com/intuit/karate/Main.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ public Void call() throws Exception {
390390
return context;
391391
});
392392
HttpServer.Builder builder = HttpServer.config(config)
393+
.local(false)
393394
.corsEnabled(true);
394395
if (ssl) {
395396
builder.https(port);

0 commit comments

Comments
 (0)