mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-24 06:55:06 +00:00
auto open checkout modal
This commit is contained in:
@@ -28,7 +28,10 @@ export function consumeInternalRedirectPath(): string | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
const cleaned = cleanRedirect(storedPath, { fallback: "" });
|
||||
const cleaned = cleanRedirect(storedPath, {
|
||||
fallback: "",
|
||||
allowAllQueryParams: true
|
||||
});
|
||||
if (!cleaned) return null;
|
||||
|
||||
return cleaned.startsWith("/") ? cleaned : `/${cleaned}`;
|
||||
|
||||
Reference in New Issue
Block a user