DEV Community

Discussion on: Sitemap for dynamic routes in NuxtJS

 
gaisinskii profile image
Andrey Gaisinskii

Still don't get it:)

But maybe you can add a custom header to your API calls. And each of your websites will have a custom header, for e.g. x-platform: tourzomer, x-platform: fantaciclo and so on.

Thread Thread
 
djmenkveld profile image
Dirk Menkveld

Hi, yeah that's the solution, but the problem is that I can't access the hostname tourzomer or fantaciclo in nuxt config or the utils helper I have to get the routes.

Thread Thread
 
mehattabi profile image
MeHattabi

Have you found a solution? I'm in the same situatien and going crazy here..