mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +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
15 lines
312 B
JavaScript
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; |