Skip to content

Commit a2282f9

Browse files
committed
Upgrade to mkcert 1.4.3
1 parent 9828a1a commit a2282f9

File tree

4 files changed

+155
-319
lines changed

4 files changed

+155
-319
lines changed

certs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const exec = require("child_process").exec
66
const https = require("https")
77
const getAppDataPath = require("appdata-path")
88

9-
const MKCERT_VERSION = "v1.4.1"
9+
const MKCERT_VERSION = "v1.4.3"
1010
const CERT_PATH = getAppDataPath("https-localhost")
1111

1212
// check for updates

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const fs = require("fs")
55
const http = require("http")
66
// spdy allows http2, while waiting express to support the http2 module
77
const https = process.env.NODE_ENV === "production"
8-
? require("spdy") : require("https")
8+
? require("spdy")
9+
: require("https")
910
const express = require("express")
1011
const cors = require("cors")
1112
const getCerts = require(path.resolve(__dirname, "certs.js")).getCerts

0 commit comments

Comments
 (0)