crafatar/routes/index.js
jomo 332330f68e replacing all single quotes with double quotes
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
2014-11-30 00:07:05 +01:00

15 lines
312 B
JavaScript

var express = require("express");
var config = require("../modules/config");
var router = express.Router();
/* GET home page. */
router.get("/", function(req, res) {
res.render("index", {
title: "Crafatar",
domain: "https://" + req.headers.host,
config: config
});
});
module.exports = router;