浏览代码

Fix typos in the routes to the encryption for production.

Lee Morgan 5 年之前
父节点
当前提交
7050160b36
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app.js

+ 2 - 2
app.js

@@ -15,8 +15,8 @@ app.use(express.static(__dirname + "/views"));
 let httpsServer = {};
 if(process.env.NODE_ENV === "production"){
     httpsServer = https.createServer({
-        key: fs.readFileSync("/etc/letencrypt/live/www.thesubline.com/privkey.pem", "utf8"),
-        cert: fs.readFileSync("/etc/letsencrypt/live/www.leemorgan.io/fullchain.pem", "utf8")
+        key: fs.readFileSync("/etc/letsencrypt/live/www.thesubline.com/privkey.pem", "utf8"),
+        cert: fs.readFileSync("/etc/letsencrypt/live/www.thesubline.com/fullchain.pem", "utf8")
     }, app);
 
     app.use((req, res, next)=>{