accepting code for auth page

This commit is contained in:
metacryst
2026-03-24 10:39:57 -05:00
parent a87d521a4f
commit f3aceb69af
3 changed files with 105 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ let Global = class {
}
onNavigate = async () => {
if(!global.profile) return
let selectedNetwork = this.networkFromPath()
if(!selectedNetwork) {
@@ -188,6 +189,7 @@ let Global = class {
this.getProfile().then(async (status) => {
if (status === 401) {
navigateTo("/")
AuthPage()
} else if(status === 500) {
ConnectionError()