diff options
Diffstat (limited to 'docs/static')
-rw-r--r-- | docs/static/.gitkeep | 0 | ||||
-rw-r--r-- | docs/static/_headers | 6 | ||||
-rw-r--r-- | docs/static/_redirects | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/docs/static/.gitkeep b/docs/static/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 --- a/docs/static/.gitkeep +++ /dev/null diff --git a/docs/static/_headers b/docs/static/_headers new file mode 100644 index 0000000000..b3c268ea10 --- /dev/null +++ b/docs/static/_headers @@ -0,0 +1,6 @@ +/* + Content-Security-Policy: default-src 'self' + X-Frame-Options: DENY + X-Xss-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Referrer-Policy: strict-origin-when-cross-origin diff --git a/docs/static/_redirects b/docs/static/_redirects new file mode 100644 index 0000000000..0eb23153ae --- /dev/null +++ b/docs/static/_redirects @@ -0,0 +1,8 @@ +https://gitea-docs.netlify.com/* https://docs.gitea.io/:splat 302! + +/ /fr-fr/ 302! Language=fr +/ /nl-nl/ 302! Language=nl +/ /pt-br/ 302! Language=pt-br +/ /zh-cn/ 302! Language=zh-cn +/ /zh-tw/ 302! Language=zh-tw +/ /en-us/ 302! |