docs: georestrictions compliance
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
fd942d201a
commit
7e960f286d
@ -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