diff --git a/pages/h.ts b/pages/h.ts deleted file mode 100644 index 936f876..0000000 --- a/pages/h.ts +++ /dev/null @@ -1,14 +0,0 @@ -export const handleTag = async (request: Hapi.Request, h: Hapi.ResponseToolkit) => { - // https://imgur.com/t/funny - if (!CONFIG.use_api) { - return 'Tag page disabled. Rimgu administrator needs to enable API for this to work.'; - } - const tagID = request.params.tagID; - const result = await fetchTagPosts(tagID); - return h.view('posts', { - posts: result.items, - pageTitle: CONFIG.page_title, - tag: result, - util, - }); -}; \ No newline at end of file