Skip to content
Snippets Groups Projects
Commit 6d82d7b1 authored by dylan.frei's avatar dylan.frei
Browse files

changed display function to POST method

parent f375909c
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ func main() {
e.Static("/download", "img")
e.GET("/list", List)
e.DELETE("/delete/:img", Del)
e.GET("/display/:img", Display)
e.POST("/display/:img", Display)
err := e.Start(":4000")
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment