Merge pull request #821 from aluzzardi/docs-georestrictions
docs: georestrictions compliance
This commit is contained in:
commit
372c1bc4c9
@ -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"
|
||||
|
Reference in New Issue
Block a user