Skip to content

Commit 63359bf

Browse files
committed
Remove default key and cert
1 parent 4248678 commit 63359bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native-sni/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const sni = (servername, callback) => {
4545
callback(null, creds);
4646
};
4747

48-
const options = { key, cert, SNICallback: sni };
48+
const options = { SNICallback: sni };
4949

5050
const server = https.createServer(options, (req, res) => {
5151
const data = routing[req.url];

0 commit comments

Comments
 (0)