You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I don't have an answer out of the box for you. First thing is that you should definitely be using laravel type, because that's the only way you can add some dynamic behaviour to your docs.
I'd advise you to read the docs about the URLs Scribe uses (displaying vs Try It Out vs response calls), if you haven't already done so.
My guess is that you can use laravel type and customise the generated Blade views to display a dynamic base URL instead, or something like that. Or you could even set base_url to a dynamic string, like 'config ("app.tenant_url"). It might work.
Scribe version
4.23.1
Your question
I'm making a multitenant application with package (/spatie/laravel-multitenancy) and generating static documentation.
When I access /docs/ the Base URL always get the APP_URL.
How do I generate each /docs/ with Base URL correct for each tenant?
What is the best approach to multi-tenancy?
Docs
The text was updated successfully, but these errors were encountered: