mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak linter
This commit is contained in:
@@ -29,7 +29,7 @@ func NewFrontendService(profile *profile.Profile, store *store.Store) *FrontendS
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *FrontendService) Serve(ctx context.Context, e *echo.Echo) {
|
func (*FrontendService) Serve(_ context.Context, e *echo.Echo) {
|
||||||
skipper := func(c echo.Context) bool {
|
skipper := func(c echo.Context) bool {
|
||||||
return util.HasPrefixes(c.Path(), "/api", "/memos.api.v1")
|
return util.HasPrefixes(c.Path(), "/api", "/memos.api.v1")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user