mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-16 15:03:01 +00:00
feat: change options
This commit is contained in:
parent
8b46beb1dd
commit
10946dcafb
4 changed files with 36 additions and 1 deletions
2
main.go
2
main.go
|
@ -22,6 +22,8 @@ func main() {
|
|||
c.String(200, "User-agent: *\nDisallow: /")
|
||||
})
|
||||
|
||||
r.GET("/options/:name", routes.ChangeOptions)
|
||||
|
||||
r.GET("/", routes.GetHome)
|
||||
|
||||
r.POST("/", routes.PostHome)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue