Closed owdevel closed 3 years ago
Fixed in b037b0815263ab3be9b1bc967846b24b079c55b0 which should be on dockerhub unstable soon.
Only read the first part of the issue, sorry. That commit only fixes the banner.svg
thing.
Ok, the other two issues should be fixed in 2c8be42 and 6691ae27f40cfee58ed57347ff3a69ad194ec195.
Read the FAQ first!
Describe the bug
Web paths seem to ignore url_base value when looking for banner.svg, bundle.css, remixicon.css and when navigating between invites, accounts and settings. This affects link generation as the link will omit the url_base value if you have switched tabs and therefore fail.
E.g. Reverse proxy to http://test.com/accounts. After navigating to the other pages (Accounts/Settings) the /accounts is dropped (http://test.com/settings). Navigating back to the invites page will result in the invite url being http:/test.com/invite/xxx.... which will fail to parse.
The invite links do generate properly however if the accounts/settings pages are not accessed thereby not dropping the url_base.
To Reproduce
Whilst the interface looks fine and is mostly functional, there are errors in the console for resources.
Navigate to Accounts or Settings page URL will change to omit the url_base resulting in /accounts and /settings rather than /url_base/accounts, /url_base/settings
Navigate back to Invites page, url_base will not be visible
Generate invite link, link does not include url_base
Logs Docker Image Logs - Nothing special. All HTTP 200 responses
Chrome Console Logs - Initial Connect
Configuration config.ini
nginx config
Caddy2 Caddyfile
Platform/Version Docker Containers running on Host Debian distributions. Tested with docker:latest and docker:unstable with the same results. hrfee/jfa-go:latest (0.2.5, fdc97b4) hrfee/jfa-go:unstable (46fe3a7)
Accessed through Chrome on Linux version 88.0.4324.146