Rank 6: Server
Topic from #🎙│stage
@Steven These routes work FYI: https://github.com/appwrite/console/blob/main/src/routes/%2Blayout.svelte#L44-L52
Anything else shows blank screen
Votes
0
Replies
20
Participants
Unknown
Messages
21
Rank 6: Server
Topic from #🎙│stage
@Steven These routes work FYI: https://github.com/appwrite/console/blob/main/src/routes/%2Blayout.svelte#L44-L52
Anything else shows blank screen
Rank 6: Server
Everything behind those also work, but show a 404 in the console format
Rank 6: Server
There's also a layout.ts: https://github.com/appwrite/console/blob/main/src/routes/%2Blayout.ts#L28-L39, same routes
Rank 6: Server
Why 2 layouts?
so this is running the console in dev mode and browsing to it like http://localhost:3000?
this is a sveltekit thing. the TS runs first (if you were using SSR, that runs server side). and then the svelte file is the uI
Rank 6: Server
yeah
Rank 6: Server
ah, i see
ya so it's a known issue. let us know if you figure out the cause 😅
Rank 6: Server
so for example /mfahdjdbbr works
Rank 6: Server
because it contains /mfa
i don't think that's the reason. you get rerouted to the root
Rank 6: Server
shows a regular 404 too
404 makes sense...because the route doesn't exist
Rank 6: Server
it is, same as /loginjdjdbdbd
Rank 6: Server
or /registerjajdvd
Rank 6: Server
every route in approved routes
Rank 6: Server
well, starting with that, that is
anyways...like i said. it's a known issue. feel free to let us know if you figure it out
Rank 6: Server
yeye