implement dotenv loading for allowed domains

This commit is contained in:
2026-04-19 21:44:53 +02:00
parent 1af4bc0d72
commit 7bd1802276
5 changed files with 48 additions and 9 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
# sanigi-html
sanigi-html (esperanto for sanitize html) is a python tool which takes in HTML and sanitzies it for use with student webspaces
sanigi-html (esperanto for sanitize html) is a python tool which takes in HTML and sanitzies it for use with student webspaces
.env spec:
```env
ALLOWED_DOMAINS_IMG=images.example.org,cdn.example.com
ALLOWED_DOMAINS_LINK=example.com
```