Skip to content

Commit

Permalink
[update] removed ads
Browse files Browse the repository at this point in the history
  • Loading branch information
bmf-san committed Sep 27, 2024
1 parent 15d08c1 commit 6f0d90b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1,491 deletions.
4 changes: 0 additions & 4 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ func main() {
http.FileServer(http.Dir("static")).ServeHTTP(w, r)
}))

r.Methods(http.MethodGet).Use(mw.Log, mw.Recovery).Handler(`/ads.txt`, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.FileServer(http.Dir("static")).ServeHTTP(w, r)
}))

r.Methods(http.MethodGet).Use(mw.Log, mw.Recovery).Handler(`/profile.png`, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.FileServer(http.Dir("static")).ServeHTTP(w, r)
}))
Expand Down
Loading

0 comments on commit 6f0d90b

Please sign in to comment.