We host a website via GitLab Pages (static website generation using astro) and have recently encountered a problem.
In the licence for our fonts (or in the installation details) it is mentioned that we should take measures to prevent hotlinking (e.g. not being able to download the font directly).
Usually this is done via entries in a config or htaccess file that prevents direct access if the referrer is not the domain.
But I couldn’t find any information in the documentation on how to do this with gitlab pages, so I wonder if this is even possible and if so how can it be done?
Apologies if I’ve missed something.
Thanks in advance.