Skip to content

Commit

Permalink
fix(routes): update login redirect check
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneblue committed Nov 19, 2021
1 parent ed9f7e4 commit 1e88aa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# lakitu

![lakitu version](https://img.shields.io/badge/version-0.1.0-lightgreen.svg)
![lakitu version](https://img.shields.io/badge/version-0.1.2-lightgreen.svg)
![GPL v3 License](https://img.shields.io/badge/license-GPL%20v3-blue.svg)

Manage your cloud gaming EC2 instance with lakitu.
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/__layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if (hasPending && page.path != '/loading') {
return { status: 302, redirect: '/loading' };
}
} else if (!loggedIn && page.path != '/login') {
} else if (!loggedIn && (page.path != '/login' || page.path != '/setup')) {
return { status: 302, redirect: '/login' };
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
</div>
{:else if state.activeTab === ACTIVE_TAB.ABOUT}
<div class="w-full text-lg">
<div>v0.1.1 by sereneblue</div>
<div>v0.1.2 by sereneblue</div>
<div class="mt-4">
<a
href="https://github.com/sereneblue/lakitu"
Expand Down

0 comments on commit 1e88aa9

Please sign in to comment.