From 52b2340235ce61d273bcde8feb199e38df829449 Mon Sep 17 00:00:00 2001 From: chrysn Date: Wed, 19 Jul 2023 05:42:48 +0200 Subject: [PATCH] chore: Allow more GitHub-pages style domains (#344) The added domains serve the GitHub pages equivalents of GitLab and Codeberg. As adjustments[1] to the i-d-template come in that facilitate more diverse hosting, users will want to diff draft versions from there. [1]: https://github.com/martinthomson/i-d-template/issues/398 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 15c373e..be044bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,7 +82,7 @@ RUN mkdir -p tmp && \ echo "VERSION = '0.15.3'" >> at/config.py && \ echo "REQUIRE_AUTH = False" >> at/config.py && \ echo "DT_LATEST_DRAFT_URL = 'https://datatracker.ietf.org/api/rfcdiff-latest-json'" >> at/config.py && \ - echo "ALLOWED_DOMAINS = ['ietf.org', 'rfc-editor.org', 'github.com', 'githubusercontent.com', 'github.io', 'gitlab.com']" >> at/config.py + echo "ALLOWED_DOMAINS = ['ietf.org', 'rfc-editor.org', 'github.com', 'githubusercontent.com', 'github.io', 'gitlab.com', 'gitlab.io', 'codeberg.pages']" >> at/config.py # host with waitress CMD python3 serve.py