Skip to content

Commit

Permalink
pushing all files to /f/ to allow for more routes like rns later
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed May 31, 2023
1 parent a738a4a commit 00e773d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func initRouter(ctx client.Context) http.Handler {
router := httprouter.New()

router.GET("/:fid", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
router.GET("/f/:fid", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {

fid := ps.ByName("fid")

Expand Down

0 comments on commit 00e773d

Please sign in to comment.