Request in routes function

michelsteege
0
michelsteege
commented 2 months ago

I have a project where i generate a sitemap based on the current domain, to do this is need the hostname in the routes function to send it to an api which returns all info needed for my dynamic routes.
Is there any way to get the hostname/current domain in the routes function?

0
Informations
Question โ€ข Unresolved
#c61 - Created 2 months ago