Aded option to proxy submisissions to another server to persist.

This commit is contained in:
Joe Dowd
2020-07-27 05:51:49 +01:00
parent b965e5bf56
commit 18f5d656de
2 changed files with 23 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
var config = require('./src/config.js');
var createServer = require('./src/app.js');
var server = createServer(() => {
console.log("Server started.");
console.log("Server started on port "+config.port+".");
});