From c0e39ce5a897260ea8b3ad4db92cab105f129536 Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Wed, 22 May 2024 13:05:55 +0900 Subject: [PATCH] (feat) 404 ads.txt fix --- pkg/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/routes.go b/pkg/routes.go index 5510d33..1bb2e01 100644 --- a/pkg/routes.go +++ b/pkg/routes.go @@ -15,6 +15,7 @@ func SetupRoutes(e *echo.Echo, options []EchoOption) { } e.GET(opt.BaseURL+"", NewAssetsHandler(opt.PublicDir, "index.html").GetHTML) e.GET(opt.BaseURL+"extract", NewAssetsHandler(opt.PublicDir, "extract/index.html").GetHTML) + e.GET(opt.BaseURL+"ads.txt", NewAssetsHandler(opt.PublicDir, "ads.txt").GetPlain) e.GET(opt.BaseURL+"robots.txt", NewAssetsHandler(opt.PublicDir, "robots.txt").GetPlain) e.GET(opt.BaseURL+"favicon.ico", NewAssetsHandler(opt.PublicDir, "favicon.ico").GetIco) e.GET(opt.BaseURL+"api/extract",