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:
parent
4cd9359c23
commit
c3292328dc
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue