mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-15 20:03:12 +00:00
chore: tweak linter warning
This commit is contained in:
parent
4098ac824e
commit
1cf274389c
@ -41,7 +41,7 @@ func NewFrontendService(profile *profile.Profile, store *store.Store) *FrontendS
|
||||
}
|
||||
}
|
||||
|
||||
func (s *FrontendService) Serve(ctx context.Context, e *echo.Echo) {
|
||||
func (s *FrontendService) Serve(_ context.Context, e *echo.Echo) {
|
||||
// Use echo static middleware to serve the built dist folder.
|
||||
// Reference: https://github.com/labstack/echo/blob/master/middleware/static.go
|
||||
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{
|
||||
|
Loading…
x
Reference in New Issue
Block a user