codex-mythica/bin/www

10 lines
268 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/node
2024-10-15 20:37:26 +00:00
var debug = require("debug")("my-application");
var app = require("../app");
2018-01-08 00:12:11 +00:00
2024-10-15 20:37:26 +00:00
app.set("port", process.env.PORT || 8320);
2018-01-08 00:12:11 +00:00
2024-10-15 20:37:26 +00:00
const server = app.listen(app.get("port"), () => {
console.log("Express server listening on port " + server.address().port);
2018-01-08 00:12:11 +00:00
});