|
|
@ -21,7 +21,7 @@ const settings = require("./settings"); |
|
|
|
const app = express(); |
|
|
|
const app = express(); |
|
|
|
|
|
|
|
|
|
|
|
// All environments
|
|
|
|
// All environments
|
|
|
|
app.set("port", settings.port); |
|
|
|
app.set("port", process.env.PORT || settings.port); |
|
|
|
app.set("views", path.join(__dirname, "views")); |
|
|
|
app.set("views", path.join(__dirname, "views")); |
|
|
|
app.set("view engine", "jade"); |
|
|
|
app.set("view engine", "jade"); |
|
|
|
app.set("gitpath", settings.gitpath); |
|
|
|
app.set("gitpath", settings.gitpath); |
|
|
|