Are there any plans to add other providers the ability to edit the baseURL at runtime?
Personally I would do something like (inside {provider}.ts):
if (!baseURL) {
baseURL = joinURL(useRuntimeConfig().public.image.directus.baseURL, '/assets')
}
so that each provider (for those that need to) could add its own base URI.
What needs to be done in order to make useRuntimeConfig().public.image.{provider}.baseURL available to be edited at runtime?
P.S.: while reading #778 I noticed that there could be problems accessing useRuntimeConfig
Are there any plans to add other providers the ability to edit the
baseURLat runtime?Personally I would do something like (inside
{provider}.ts):so that each provider (for those that need to) could add its own base URI.
What needs to be done in order to make
useRuntimeConfig().public.image.{provider}.baseURLavailable to be edited at runtime?P.S.: while reading #778 I noticed that there could be problems accessing
useRuntimeConfig