This message was deleted.
# helpdesk
s
This message was deleted.
👀 1
a
Ah, yeah, that guide hasn’t been updated to use app router yet
👀 1
Where exactly are you getting 404s?
a
On the GET request for /api/get_lk_token?room=${room}&username=${name}
Yeah I was able to get the Nextjs 12 with the pages router setup working — essentially copied the setup over and changed env vars for a new project but couldn't get it to work for the app router (Next 13)
a
what was your directory structure in app router? I think that handler should go in
/api/get_lk_token/server.js
but I’ll try it now
a
hm, let me try that. currently the directory structure is app/api/get_lk_token.ts
a
sorry
app/api/get_lk_token/server.ts
a
In that case would the fetch request still be /api/get_lk_token ?
didn't seem to work by just changing to app/api/get_lk_token/server.ts
a
yeah I need to update that guide, check back here in an hour or so
a
No worries, thanks
Yeah, seems like next 13 is a bit of a mess as well
a
added that guide for Next.js 13, which should work for you — let me know if you have any questions with it!
🙌 2
a
Thank you! Worked for me
Hey @acoustic-engineer-41666 one more question that's slightly unrelated, does livekit use stytch session management to help track analytics?
a
I have no idea what that means so… I’m pretty sure the answer is no 😂