Skip to content

Commit

Permalink
webinterface: use relative form submit URL for updating priorities
Browse files Browse the repository at this point in the history
Change the submit URL for updating priorities to be relative.
This makes it work when the webinterface is served under a different
endpoint than '/'.
  • Loading branch information
fho committed Jan 6, 2025
1 parent 0f90bc0 commit fa5ce6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/autoupdater/httpservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
prPriorityMin int = -1
)

const handlerPriorityUpdatePath = "/priority_post"
const handlerPriorityUpdatePath = "priority_post"

type HTTPService struct {
autoupdater *Autoupdater
Expand Down

0 comments on commit fa5ce6d

Please sign in to comment.