mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-16 15:03:01 +00:00
feat!: proxy images with JWT auth
This commit is contained in:
parent
7494b2df33
commit
5f11bcd6a2
8 changed files with 151 additions and 2 deletions
2
main.go
2
main.go
|
@ -52,5 +52,7 @@ func main() {
|
|||
|
||||
r.GET("/questions/:id/:title", routes.ViewQuestion)
|
||||
|
||||
r.GET("/proxy", routes.GetImage)
|
||||
|
||||
r.Run(fmt.Sprintf("%s:%s", host, port))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue