Start of UI work
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm
2020-07-29 20:47:36 +02:00
parent 7a88c636fd
commit 6a4d1c3b22
8 changed files with 124 additions and 1 deletions

View File

@ -0,0 +1,16 @@
import { ABC } from "../deps.ts";
import { basicauth } from "../utils.ts";
export default function views(g: ABC.Group) {
g.get(
"/",
async (ctx) => {
return ctx.render("index");
// const render = await IndexView();
// console.log(render);
// ctx.response.body = render;
// ctx.response.status = 200;
},
basicauth("views")
);
}