StevenWeathers / thunderdome-planning-poker

⚡ Thunderdome is an open source agile planning poker, sprint retro, and story mapping tool
https://thunderdome.dev
Apache License 2.0
421 stars 109 forks source link

[Bug]: Swagger is not aware of `http.path_prefix` #640

Closed felipecrs closed 3 weeks ago

felipecrs commented 3 weeks ago

Contact Details

No response

What happened?

This link is not taking path_prefix into account and thus it's broken:

image

But even if I fix the link by myself, Swagger won't finish loading because of similar issues:

image

Self Hosted?

Yes

Version

Latest

What browsers are you seeing the problem on?

Chrome

Relevant log output

N/A

Code of Conduct

felipecrs commented 3 weeks ago

Tested it. The swagger page works now. The "API Documentation" button in the profile page is still broken though.

felipecrs commented 3 weeks ago

https://github.com/StevenWeathers/thunderdome-planning-poker/blob/28c74fa353731469392dad69b3be0de9deb98fbf/ui/src/pages/user/UserProfile.svelte#L405

It must come from here. I don't know what's the proper way to fix it though, I did not find any other example in svelte files.