Skip to content

Commit

Permalink
chore: Allow more GitHub-pages style domains (#344)
Browse files Browse the repository at this point in the history
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]: martinthomson/i-d-template#398
  • Loading branch information
chrysn committed Jul 19, 2023
1 parent 8497ea9 commit 52b2340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 52b2340

Please sign in to comment.