Remove /members/ in redirect for system site.

I had url/members/:member, it's meant to be /:member for the actual browser facing url. FUCKING DUMBASS
This commit is contained in:
Clove 2026-06-12 14:18:57 +02:00 committed by git.gay
parent 4cd9359c23
commit c3292328dc
No known key found for this signature in database
GPG Key ID: BDA2A7586B5E1432
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
`https://system.doughmination.co.uk/api/member/${encodeURIComponent(who)}`
);
if (response.status === 200) {
window.open(`https://system.doughmination.co.uk/member/${encodeURIComponent(who)}`, "_blank");
window.open(`https://system.doughmination.co.uk/${encodeURIComponent(who)}`, "_blank");
return { text: `Opening ${who}'s profile...` };
}
if (response.status === 404) {