Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix: update login and register redirection paths to improve user flow

nirholas297fba4384d9
diff --git a/public/login.html b/public/login.html
index 3dcd7e992..738a98564 100644
--- a/public/login.html
+++ b/public/login.html
@@ -154,7 +154,7 @@
<script type="module" src="/wallet-login.js"></script>
<script>
const params = new URLSearchParams(location.search);
- const next = params.get('next') || sessionStorage.getItem('login_redirect') || '/dashboard/';
+ const next = params.get('next') || sessionStorage.getItem('login_redirect') || '/create';
sessionStorage.removeItem('login_redirect');
// If already signed in, skip the login form entirely.
diff --git a/public/register.html b/public/register.html
index fefc9720f..6087aa1bb 100644
--- a/public/register.html
+++ b/public/register.html
@@ -150,7 +150,8 @@
</form>
<script>
const params = new URLSearchParams(location.search);
- const next = params.get('next') || '/dashboard/';
+ const next = params.get('next') || sessionStorage.getItem('login_redirect') || '/create';
+ sessionStorage.removeItem('login_redirect');
const form = document.getElementById('f');
const err = document.getElementById('err');
const btn = document.getElementById('submit');