Describe the bug
On the workers overview page, there is a hyperlink to the total tasks which - unlike the main navigation menu - does not consider the url_prefix configuration. Clicking it returns a 404 error.
To Reproduce
Steps to reproduce the behavior:
Define a custom url_prefix, e.g. foo
Navigate to /workers page
Notice that the main navigation tasks link targets /foo/tasks
Notice that the hyperlink on the total sum of tasks targets /tasks (without /foo)
Clicking the total sum link returns a 404 error
Expected behavior
When setting a url_prefix I would expect every hyperlink to flower pages to include the prefix in the URLs and not 404.
Screenshots
In this example, I have a url_prefix of flower. Notice that the main nav respects this and works as expected:
However, the other link on the workers page does not:
System information
This is flower 2.0.0 running on python 3.11.3 in an official python docker container (x86).
Describe the bug On the workers overview page, there is a hyperlink to the total tasks which - unlike the main navigation menu - does not consider the
url_prefix
configuration. Clicking it returns a 404 error.To Reproduce Steps to reproduce the behavior:
url_prefix
, e.g.foo
/workers
pagetasks
link targets/foo/tasks
/tasks
(without/foo
)Expected behavior When setting a
url_prefix
I would expect every hyperlink to flower pages to include the prefix in the URLs and not 404.Screenshots In this example, I have a
url_prefix
offlower
. Notice that the main nav respects this and works as expected:However, the other link on the workers page does not:
System information This is flower 2.0.0 running on python 3.11.3 in an official python docker container (x86).