Skip to content
Snippets Groups Projects
Commit 52dea8fa authored by Anthony LC's avatar Anthony LC Committed by Anthony LC
Browse files

🔧(backend) add MEDIA_BASE_URL setting

The frontend need to know the base url for the
media files, so we need to add a new setting
to the backend, in order to expose this value
to the frontend.
If the setting is not defined, the frontend current
domain will be used as the base url.
In production this setting do not need to be defined
since we have nginx capturing the media requests,
but in development we need to define it to target
the nginx server.
parent 0a37a8ea
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment