Commit 5268a11c authored by Patrick's avatar Patrick
Browse files

test

parent 62634373
...@@ -4,13 +4,13 @@ const http = require('http'); ...@@ -4,13 +4,13 @@ const http = require('http');
const https = require('https'); const https = require('https');
const express = require('express'); const express = require('express');
const bodyParser = require('body-parser') const bodyParser = require('body-parser')
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json())
const request = require('ajax-request'); const request = require('ajax-request');
const app = express(); const app = express();
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json())
// Certificate // Certificate
const privateKey = fs.readFileSync('/etc/letsencrypt/live/umfrage.smartvillages.online/privkey.pem', 'utf8'); const privateKey = fs.readFileSync('/etc/letsencrypt/live/umfrage.smartvillages.online/privkey.pem', 'utf8');
const certificate = fs.readFileSync('/etc/letsencrypt/live/umfrage.smartvillages.online/cert.pem', 'utf8'); const certificate = fs.readFileSync('/etc/letsencrypt/live/umfrage.smartvillages.online/cert.pem', 'utf8');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment