diff --git a/main.go b/main.go index 009e281..8c0f7fb 100644 --- a/main.go +++ b/main.go @@ -211,7 +211,7 @@ func Upload(c echo.Context) error { return c.String(http.StatusOK, fileUrl) } - return c.Redirect(http.StatusMovedPermanently, "/files/"+file.Filename) + return c.HTML(http.StatusOK, "File uploaded at url: " + fileUrl + "") } func Delete(c echo.Context) error {