fix TypeError baseURL

when i try to refresh (dashboard/profile) page i get this error [TypeError: Invalid URL /get-session. Are you passing in a relative URL but not setting the baseURL?] [TypeError: Invalid URL /passkey/list-user-passkeys. Are you passing in a relative URL but not setting the baseURL?] how to fix it?
2 Replies
bekacru
bekacru4mo ago
make sure to set baseURL in your authClient
yasserconnect
yasserconnectOP4mo ago
fixed! i forget to add to client too, thank you

Did you find this page helpful?