mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove {filetype} in path template (#1377)
* chore: remove {filetype} in path template * fix go-static-check * update
This commit is contained in:
@@ -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}":
|
||||
|
Reference in New Issue
Block a user