diff --git a/routes.ts b/routes.ts
index d57e596..61124ad 100644
--- a/routes.ts
+++ b/routes.ts
@@ -14,14 +14,14 @@ export const site = async (ctx: RouterContext) => {
if(ctx.params.filename == "sw.js" || ctx.params.filename == "script.js"){
ctx.response.type = "text/javascript"
}
+ if(ctx.params.filename == "style.css"){
+ ctx.response.type = "text/css"
+ }
ctx.response.body = await renderFileToString(`${Deno.cwd()}/site/${ctx.params.filename}`, {})
}
export const icons = async (ctx: RouterContext, next: any) => {
const identifier = ctx.params.filename
-
- console.log(["t_192.png", "t_48.png", "t_96.png"].indexOf(identifier))
-
if (["t_192.png", "t_48.png", "t_96.png"].indexOf(identifier) != -1){
const img = await Deno.readFile(`${Deno.cwd()}/site/i/${ctx.params.filename}`);
ctx.response.type = "image/png";
diff --git a/site/index.html b/site/index.html
index d4f0e3f..96894be 100644
--- a/site/index.html
+++ b/site/index.html
@@ -25,12 +25,7 @@
-
+
+