Add gitignore
This commit is contained in:
5
app.js
5
app.js
@@ -10,10 +10,11 @@ const https = require('https');
|
||||
const certificate = fs.readFileSync(process.env.CLIENT_CRT || 'cert/client.crt', 'utf8');
|
||||
const privateKey = fs.readFileSync(process.env.CLIENT_KEY || 'cert/client.key', 'utf8');
|
||||
|
||||
const credentials = {
|
||||
const opt = {
|
||||
key: privateKey,
|
||||
cert: certificate,
|
||||
minVersion: process.env.MIN_TLS_VERSION || "TLSv1.1"
|
||||
minVersion: process.env.MIN_TLS_VERSION || "TLSv1.1",
|
||||
sessionTimeout: 2
|
||||
};
|
||||
|
||||
const dbcontroller = require('./db');
|
||||
|
||||
Reference in New Issue
Block a user