From 7e379f3cf96e16b542e2611143690d81e90538b8 Mon Sep 17 00:00:00 2001 From: Erudition Date: Sun, 17 Sep 2023 23:50:28 -0500 Subject: [PATCH] Try localhost navigation --- capacitor.config.ts | 2 +- elm/Main.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index e7043e16..4010ce7e 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -5,7 +5,7 @@ const config: CapacitorConfig = { appName: 'Minder', webDir: 'dist', server: { - allowNavigation: ["erudition.github.io"], + allowNavigation: ["erudition.github.io", "localhost"], url: "https://erudition.github.io/minder-preview/Erudition/Minder/branch/master/", hostname: 'localhost', androidScheme: 'https', diff --git a/elm/Main.elm b/elm/Main.elm index 5eef7ec0..12089ab9 100644 --- a/elm/Main.elm +++ b/elm/Main.elm @@ -510,7 +510,7 @@ globalLayout model replica innerStuff = ] , menuItemHref "Test Marvin Sync" "sync-outline" "?sync=marvin" , menuItemHref "Reload App" "sync-outline" "index.html" - , menuItemHref "Installed branch" "sync-outline" "https://localhost/" + , menuItemHref "Installed branch" "sync-outline" "https://localhost/index.html" , menuItemHref "Master branch" "sync-outline" "https://erudition.github.io/minder-preview/Erudition/Minder/branch/master/" , Ion.Item.item [ Ion.Item.button, HE.onClick ClearPreferences, Ion.Item.detail False ] [ Ion.Item.label [] [ H.text "Switch Account" ]