So I'm using vite/react, which is spa, and it used to work before, but now whenever I go to any route except the root it shows appwrites 404 page, instead of using my routing, why is this?
Do you get any errors while deploying the site? Also, which region you're using?
NY, and I don't think so, let me check
other than from postcss, no
You said it used to work before and it's a SPA, then what do you mean by routing? Have you added more routes/pages recently?
Everything should route to index.html, and the code inside my project is what should do the routing, using react-router. I belive their are new routes, I don't think that could be a cause
And it used to work.
Can you share with me the deployed link?
As I can see, you're directly using /account route here upon clicking the login/signup button instead of a /login or /signup route which means the user is getting redirected directly to the /account route even before he/she could login or signup. Don't you have any /login or /signup route?
/account redirects to the login page if no account is signed in, but that route doesnt work either, which would be /auth/login
it could be the lazy loading, but it's work in the past with it so
my other vite project still works fine, which is werid because its basically the same setup
idk if I fucked something up or not, but it's still weird
Recommended threads
- Get Started - Web is broken
Trying to complete the get started tasks since the "66%" was finally getting to me, and clicked on "web", was met with: ``` Uncaught TypeError: Cannot read prop...
- Database AI Column Suggestion Use Case
I tried using the AI column suggestion feature. For me, I prefer writing my column design separately in a notepad. Then my intention is to paste it into the AI ...
- Cloud login down?
I am able to access my functions, databases, and buckets - as well as deploy via cli, but I cannot login to the console - nor does my appwrite-account-based log...