Added ngrok deployment option

This commit is contained in:
Zef Hemel
2023-11-10 10:57:57 +01:00
parent d58db6aa1a
commit 69ef37a170
5 changed files with 60 additions and 20 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function PageNavigator({
orderId: orderId,
});
}
let completePrefix: string | undefined = undefined;
let completePrefix = currentPage + "/";
if (currentPage && currentPage.includes("/")) {
const pieces = currentPage.split("/");
completePrefix = pieces.slice(0, pieces.length - 1).join("/") + "/";