Remove unused file
This commit is contained in:
parent
4aa7cbf7c2
commit
51993a21a8
1 changed files with 0 additions and 19 deletions
19
server.js
19
server.js
|
@ -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);
|
Loading…
Reference in a new issue