Add support for alternative download domain #3

Merged
Francesco Siddi merged 4 commits from cdn-support-for-downloads into develop 2024-05-30 09:22:56 +02:00

4 Commits

Author SHA1 Message Date
a14740af7b Address feedback 2024-05-29 20:58:37 +02:00
a01ea42be3 Add CDN route guard
Prevent browsing the site when HOST_CDN is set and HTTP_HOST matches it.
2024-05-29 19:01:24 +02:00
94ce5677f8 If available, use HOST_CDN when building a download url 2024-05-29 18:58:41 +02:00
374ef34f90 Move variables closer to context 2024-05-29 18:09:29 +02:00