Skip to content

Commit

Permalink
fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanh committed Jan 18, 2024
1 parent c9c8edc commit a8bc56e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func NewHandlerWithConfig(config swgui.Config, assetsBase, faviconBase string, s
if h.InternalBasePath == "" {
h.InternalBasePath = h.BasePath
}

h.InternalBasePath = strings.TrimSuffix(h.InternalBasePath, "/") + "/"

j, err := json.Marshal(h.Config)
Expand Down

0 comments on commit a8bc56e

Please sign in to comment.