From 7c7d4a9978839ebd2a2abd104378a5d0dacd202e Mon Sep 17 00:00:00 2001 From: kandrusyak Date: Fri, 28 Jul 2023 01:23:12 +0300 Subject: [PATCH] fix store route --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 88b246c..6667eeb 100644 --- a/main.go +++ b/main.go @@ -81,8 +81,7 @@ func main() { mainGroup.POST("/medical_cards", medical_information.CreateMC) // Store - store_g := mainGroup.Group("/store") - store_g.GET("/*", store.GetFileFromStore) + mainGroup.GET("/store/*", store.GetFileFromStore) e.Logger.Fatal(e.Start(":" + config.Env.Server.Port)) }