generalizing data
This commit is contained in:
parent
d40ff36ac0
commit
6dad8527e3
@ -7,8 +7,8 @@ const file = '/home/token.json'
|
||||
var https = require('https');
|
||||
|
||||
// Set up SSL
|
||||
var privateKey = fs.readFileSync('/cert/grwh.work.key', 'utf8');
|
||||
var certificate = fs.readFileSync('/cert/grwh.work.cert.combined', 'utf8');
|
||||
var privateKey = fs.readFileSync('/cert/cert.key', 'utf8');
|
||||
var certificate = fs.readFileSync('/cert/file.cert', 'utf8');
|
||||
var credentials = {key: privateKey, cert: certificate};
|
||||
|
||||
// Keep BASE URL in case its needed
|
||||
@ -214,7 +214,7 @@ jsonfile.readFile(file, function (err, obj) {
|
||||
// Hadling checking password
|
||||
app.get('/checkPass', (req, res) => {
|
||||
(async () => {
|
||||
let pass = "scott"
|
||||
let pass = "changeme"
|
||||
let sent = req.query.pass
|
||||
if (pass == sent){
|
||||
console.log("User Authed Properly!")
|
||||
|
Loading…
Reference in New Issue
Block a user