fix store file path

This commit is contained in:
kandrusyak
2023-07-28 01:28:46 +03:00
parent 7c7d4a9978
commit 16c9767420

View File

@@ -9,7 +9,7 @@ import (
)
func GetFileFromStore(c echo.Context) error {
fileName := strings.ReplaceAll(c.Request().RequestURI, "/store", "")
fileName := strings.ReplaceAll(c.Request().RequestURI, "/api/store", "")
data, err, resp := api.GetRequest(
config.Env.MSHosts.StoreHost+fileName,