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
092e8b38d2
commit
a6c31625db
|
|
@ -167,7 +167,7 @@
|
||||||
`https://system.doughmination.co.uk/api/member/${encodeURIComponent(who)}`
|
`https://system.doughmination.co.uk/api/member/${encodeURIComponent(who)}`
|
||||||
);
|
);
|
||||||
if (response.status === 200) {
|
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...` };
|
return { text: `Opening ${who}'s profile...` };
|
||||||
}
|
}
|
||||||
if (response.status === 404) {
|
if (response.status === 404) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue