From 9429fca2f7c97bd79c5b5ec5d6d3b881ab9c0551 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Sun, 16 Jul 2023 22:58:18 -0600 Subject: [PATCH] feat: implement favicon redirect --- backend/app.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/app.ts b/backend/app.ts index 5408af8..cb6aece 100644 --- a/backend/app.ts +++ b/backend/app.ts @@ -84,6 +84,9 @@ async function main() { app.use(BodyParserJson()); app.use(assMetaMiddleware(serverConfig.port, serverConfig.proxied)); + // Favicon + app.use('/favicon.ico', (req, res) => res.redirect('https://i.tycrek.dev/ass')); + // CSS app.use('/.css', epcss({ cssPath: path.join('tailwind2.css'),