Next.js Discord

Discord Forum

Optional Tenant slug in URL

Unanswered
Horned oak gall posted this in #help-forum
Open in Discord
Horned oak gallOP
I'd like to have an optional URL param for the current tenant but I'm not sure how to do that. URLs would be like:

project.tld/<optional-language>/<optional-tenant>/route

Tenant is used for queries and alike.
Thanks in advance! 🙂

0 Replies