chore: remove {filetype} in path template (#1377)

* chore: remove {filetype} in path template

* fix go-static-check

* update
This commit is contained in:
Zeng1998
2023-03-18 22:06:15 +08:00
committed by GitHub
parent 7f44a73fd0
commit 7529296dd5
4 changed files with 30 additions and 6 deletions

View File

@@ -147,8 +147,6 @@ func (s *Server) registerResourceRoutes(g *echo.Group) {
switch s {
case "{filename}":
return filename
case "{filetype}":
return filetype
case "{timestamp}":
return fmt.Sprintf("%d", t.Unix())
case "{year}":