mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Until now it was a big mess with some strings using single quotes and some others double quotes We were using way more double quotes, so I chose to use them globally
9 lines
263 B
JavaScript
9 lines
263 B
JavaScript
#!/usr/bin/env node
|
|
var debug = require("debug")("crafatar");
|
|
var app = require("./app");
|
|
|
|
app.set("port", process.env.PORT || 3000);
|
|
|
|
var server = app.listen(app.get("port"), function() {
|
|
debug("Crafatar server listening on port " + server.address().port);
|
|
}); |