From a58e136aa121a14bdc92feffb6030dff8426a70c Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 26 Jun 2020 10:47:12 +0200
Subject: [PATCH] [web] Added subdomain redirects.

---
 web/.gitignore                    | 2 --
 web/{public => static}/_redirects | 4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)
 rename web/{public => static}/_redirects (87%)

diff --git a/web/.gitignore b/web/.gitignore
index 23b5bb363dc..6fce7f52a39 100644
--- a/web/.gitignore
+++ b/web/.gitignore
@@ -2,8 +2,6 @@ node_modules/
 public/
 dist/
 themes/ogs/static
-static
-!static/images/xsd
 test.md
 test.jpg
 npm-debug.log
diff --git a/web/public/_redirects b/web/static/_redirects
similarity index 87%
rename from web/public/_redirects
rename to web/static/_redirects
index 0931e46ac78..f00dc0b7848 100644
--- a/web/public/_redirects
+++ b/web/static/_redirects
@@ -14,3 +14,7 @@
 
 /project/license https://gitlab.opengeosys.org/ogs/ogs/-/blob/master/LICENSE.txt
 /papers https://www.ufz.de/index.php?en=37204
+
+https://docs.opengeosys.org/* https://www.opengeosys.org/docs/:splat
+https://tutorials.opengeosys.org https://www.opengeosys.org/categories/tutorials/
+https://benchmarks.opengeosys.org https://www.opengeosys.org/docs/benchmarks/
-- 
GitLab