Getting Nuxt page (URL/Name) in API server request?
Hi All
I'm having trouble getting the nuxt component/page full path dynamically in my API eventhandler, without having to pass it as some sort of data in the request. I've tried checking all the composables, but the one that works for me in middleware doesn't work in the API server:
useRequestURL();
useRequestURL();
Any ideas?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community