forked from crony/UpFast
Update formatting.
This commit is contained in:
parent
0b97c205c5
commit
34270dfea0
10
main.go
10
main.go
@ -132,10 +132,10 @@ func Files(c echo.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if match {
|
if match {
|
||||||
out := ""
|
out := ""
|
||||||
for _, f := range filelist {
|
for _, f := range filelist {
|
||||||
out += f.Name() + "\n"
|
out += f.Name() + "\n"
|
||||||
}
|
}
|
||||||
return c.String(http.StatusOK, out)
|
return c.String(http.StatusOK, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ func Upload(c echo.Context) error {
|
|||||||
return c.String(http.StatusOK, fileUrl)
|
return c.String(http.StatusOK, fileUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.HTML(http.StatusOK, "File uploaded at url: <strong>" + fileUrl + "</strong>")
|
return c.HTML(http.StatusOK, "File uploaded at url: <strong>"+fileUrl+"</strong>")
|
||||||
}
|
}
|
||||||
|
|
||||||
func Delete(c echo.Context) error {
|
func Delete(c echo.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user