import { getAppRoot } from "@/onload/loadConfig"; // Simple redirect, only here to make testing easier export function redirectToUrl(url: string) { window.location.assign(url); } // separated purely to make testing easier export function reloadPage() { window.location.reload(); } const slashCleanup = /(?