Hey @StarfallProjects,
Here’s an actual context about the original issue:
That’s the reason why it won’t work even if you somehow add the redirects.
As far the window
error is concerned:
Apart from what @coelmay suggested, another way to handle this window is not defined
error is by wrapping it in an if
statement:
if (window) {
// use window here
}