@jonatandor35 I’m trying to continue to the same page. I just tried this but it still is giving me a time out error. Redirects work fine, it’s just the ok() and next() that don’t work.
import {ok} from "wix-router";
export function private_Router(request) {
return ok("private-page");
}