feat!: proxy images with JWT auth

This commit is contained in:
httpjamesm 2023-02-02 19:05:08 -05:00
parent 7494b2df33
commit 5f11bcd6a2
No known key found for this signature in database
8 changed files with 151 additions and 2 deletions

View file

@ -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))
}