diff --git a/server.js b/server.js deleted file mode 100644 index ab46055..0000000 --- a/server.js +++ /dev/null @@ -1,19 +0,0 @@ -var fs = require('fs'); -var http = require('http'); -//var https = require('https'); - -//var certificate = fs.readFileSync('/etc/letsencrypt/live/zgo.cash/fullchain.pem'); -//var privateKey = fs.readFileSync('/etc/letsencrypt/live/zgo.cash/privkey.pem'); - -//var credentials = {key: privateKey, cert: certificate}; - -const app = require('./backend/app'); -const port = 3000; - -app.set('port', port); - -const httpServer = http.createServer(app); -//const httpsServer = https.createServer(credentials, app); - -httpServer.listen(port); -//httpsServer.listen(port);