Merge pull request #821 from aluzzardi/docs-georestrictions

docs: georestrictions compliance
This commit is contained in:
Andrea Luzzardi
2021-07-14 12:17:19 +02:00
committed by GitHub

View File

@@ -17,6 +17,14 @@
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/"
command = "yarn build:withoutAuth"
[[redirects]]
# Embargoes compliance. DO NOT REMOVE
conditions = {Country = ["CU", "IR", "KP", "SY", "UA"]}
from = "/*"
to = "/restricted"
status = 302
force = true
[[redirects]]
from = "/github-proxy/*"
to = "https://github.com/:splat"