Skip to content

Commit

Permalink
(feat) 404 ads.txt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed May 22, 2024
1 parent ac352ca commit c0e39ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c0e39ce

Please sign in to comment.