Closed Ushie closed 1 year ago
If the user sets a URL that has a slash at the end, like the following:
https://logs.ushie.dev/
an extra / will be appended to the link by logviewer, breaking the redirect URL as it then becomes https://logs.ushie.dev//
https://logs.ushie.dev//
Check if the MODMAIL_VIEWER_URL variable ends with a /
Issue
If the user sets a URL that has a slash at the end, like the following:
https://logs.ushie.dev/
an extra / will be appended to the link by logviewer, breaking the redirect URL as it then becomes
https://logs.ushie.dev//
Solution
Check if the MODMAIL_VIEWER_URL variable ends with a /