tpl to hbs

This commit is contained in:
Flummi 2019-04-26 04:24:57 +00:00
parent 621dccb672
commit 6f6f3c8481
3 changed files with 2 additions and 2 deletions

2
.gitattributes vendored
View File

@ -1,2 +1,2 @@
*.mjs gitlab-language=javascript
*.tpl gitlab-language=handlebars
*.hbs gitlab-language=handlebars

View File

@ -5,7 +5,7 @@ import handlebars from "handlebars";
import { queries } from "./inc/index";
const template = fs.readFileSync("./views/index.html.tpl", "utf-8");
const template = fs.readFileSync("./views/index.hbs", "utf-8");
router.get(/^\/$/, async (req, res) => {
const db = await sql;