Skip to content

Commit

Permalink
Update http.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Sep 30, 2024
1 parent d20eb24 commit 98df02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (h *Handler) makeAppWorkerJS() []byte {
resourcesTocache = append(resourcesTocache, h.Resources.Resolve(k))
}
sort.Slice(resourcesTocache, func(a, b int) bool {
return strings.Compare(resourcesTocache[a], resourcesTocache[b]) < 0
return strings.Compare(resourcesTocache[a], resourcesTocache[b]) > 0
})

var b bytes.Buffer
Expand Down

0 comments on commit 98df02d

Please sign in to comment.