diff --git a/html/article.gohtml b/html/article.gohtml index 469fe85..ef77531 100644 --- a/html/article.gohtml +++ b/html/article.gohtml @@ -4,6 +4,8 @@ {{.Title}} + + diff --git a/html/landingpage.html b/html/landingpage.gohtml similarity index 98% rename from html/landingpage.html rename to html/landingpage.gohtml index 469dc01..184d2ac 100644 --- a/html/landingpage.html +++ b/html/landingpage.gohtml @@ -4,6 +4,8 @@ THE ADVERSARY + + @@ -98,7 +100,7 @@ diff --git a/js/api.ts b/js/api.ts index e6beb00..e4db1b7 100644 --- a/js/api.ts +++ b/js/api.ts @@ -1,4 +1,4 @@ -const prefix = "" +const prefix = document.getElementsByTagName("base")[0].href; async function unknownResponse(resp: Response): Promise {