mirror of
https://github.com/Dannecron/hello-slack-bot.git
synced 2025-12-25 16:12:34 +03:00
some small changes
This commit is contained in:
3
app.js
3
app.js
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
require('dotenv').config();
|
||||
var express = require('express');
|
||||
var bodyParser = require('body-parser');
|
||||
var https = require('https');
|
||||
@@ -8,7 +9,7 @@ var fs = require('fs');
|
||||
var helloBot = require('./hello.js');
|
||||
|
||||
var app = express();
|
||||
var sslPath = '/etc/letsencrypt/live/sao.twilightparadox.com/';
|
||||
var sslPath = process.env.SSL_CERT_PATH;
|
||||
|
||||
var options = {
|
||||
key: fs.readFileSync(sslPath + 'privkey.pem'),
|
||||
|
||||
Reference in New Issue
Block a user