Broken Documentation Link for WireGuard App Card (404)
The list item for wireguards docs-button directs users to a 404 page:
https://docs.ultra.cc/applications/wireguard-%28vpn%29
instead of the valid documentation page:
https://docs.ultra.cc/applications/wireguard
## Steps reproduce:
Go to the control panel as a signed in user.
Open either “Apps” or “Installers“ tab for a service, depending on if wireguard is installed.
Find the row for wireguard in the table and click docs button.
Note: Bug might not be present in dev environment since local file paths can include “( )“ but those characters are replaced when url-encoded.
## Cause (I think):
Front end js helper function hardcodes a custom slug for a few docs-urls:
function modifyDocsName(appName) {
// ...
} else if (appName === 'WireGuard') {
return 'wireguard-%28vpn%29';
} //...
}Used here:
<a href="https://docs.ultra.cc/applications/{{ vm.modifyDocsName(app.display_name) | hyphenateRedirect }}" target="_blank" class="btn btn-sm btn-primary">Docs</a>
Comments1
varg
Jul 31
Thank you. The link to Wireguard has now been fixed.