summaryrefslogtreecommitdiff
path: root/std/http/testdata/simple_https_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/testdata/simple_https_server.ts')
-rw-r--r--std/http/testdata/simple_https_server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/http/testdata/simple_https_server.ts b/std/http/testdata/simple_https_server.ts
index 9e3045609..9330b4172 100644
--- a/std/http/testdata/simple_https_server.ts
+++ b/std/http/testdata/simple_https_server.ts
@@ -2,10 +2,9 @@
// This is an example of a https server
import { serveTLS } from "../server.ts";
-const port = parseInt(Deno.args[0] || "4503");
const tlsOptions = {
hostname: "localhost",
- port,
+ port: 4503,
certFile: "./http/testdata/tls/localhost.crt",
keyFile: "./http/testdata/tls/localhost.key"
};