The semicolon at the end here makes it so that `redirectPath` is not a `const`. Perhaps it's best to not adopt my style of writing JavaScript and repeat `const` and `;` on each line. I should probably move away from it as well, as it's somewhat error-prone.