codex-mythica/bin/www
2024-10-15 16:37:26 -04:00

10 lines
268 B
JavaScript
Executable File

#!/usr/bin/node
var debug = require("debug")("my-application");
var app = require("../app");
app.set("port", process.env.PORT || 8320);
const server = app.listen(app.get("port"), () => {
console.log("Express server listening on port " + server.address().port);
});