Compare commits

...

2 Commits

Author SHA1 Message Date
Fabian Stamm
8ed18a9695 Add title to generated html 2020-11-04 04:49:53 +01:00
Fabian Stamm
2ebbab3aab Fix bugf 2020-11-04 04:43:11 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ export default VIEWS.map((view) => ({
}), }),
typescript({ sourceMap: dev, inlineSources: dev }), typescript({ sourceMap: dev, inlineSources: dev }),
html({ html({
title: view,
attributes: { attributes: {
html: { lang: "en" }, html: { lang: "en" },
}, },

View File

@@ -45,7 +45,7 @@ async function getJWT(client_id: string, origin: string) {
const res = await request(`/api/user/oauth/jwt`, { const res = await request(`/api/user/oauth/jwt`, {
client_id, client_id,
origin, origin,
}).then((res) => res.json()); });
return res; return res;
} }