From 545dad31307d6ce8855449697c13faa54f45176f Mon Sep 17 00:00:00 2001
From: Fawzi Mohamed <fawzi.mohamed@fhi-berlin.mpg.de>
Date: Wed, 12 Dec 2018 17:26:23 +0100
Subject: [PATCH] shortcuts update

---
 nginx.conf.in | 32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/nginx.conf.in b/nginx.conf.in
index 1632d72..6c873f0 100644
--- a/nginx.conf.in
+++ b/nginx.conf.in
@@ -410,23 +410,23 @@ http {
 
 {{#if frontend.0.shortcuts}}
     location = /nomad-query-gui {
-      return 302 https://$server_name/notebook-edit/data/shared/sommerregen/nomad-query/nomad-query.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/nomad-query/nomad-query.bkr;
     }
 
    location = /tutorial-metal-nonmetal {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorialsNew/sisso/sisso-metal-nonmetal.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorial/sisso/sisso-metal-nonmetal.bkr;
     }
 
     location = /tutorial-LASSO-L0 {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/LASSO_L0.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/lasso/LASSO_L0.bkr;
     }
 
     location = /tutorial-LASSO_L0 {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/LASSO_L0.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/lasso/LASSO_L0.bkr;
     }
 
     location = /tutorial-embedding {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/Embedding.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/embedding/Embedding.bkr;
     }
 
     location = /tutorial-SGD {
@@ -434,39 +434,35 @@ http {
     }
 
     location = /tutorial-glosim {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/SOAP_similarity.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/soap-similiarity/SOAP_similarity.bkr;
     }
 
     location = /tutorial-krr {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/brprototype3.bkr;
-    }
-
-    location = /tutorial-query {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/notebooks/query_example_v1_1.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/prototype/brprototype3.bkr;
     }
 
     location = /tutorial-SIS {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorials/sis_cscl.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/sis/sis_cscl.bkr;
     }
     
     location = /tutorial-SIS-L0 {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/sis_cscl.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/sis/sis_cscl.bkr;
     }
 
     location = /tutorial-SIS_L0 {
-      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/sis_cscl.bkr;
+      return 302 $scheme://$server_name/notebook-edit/data/shared/tutorials/sis/sis_cscl.bkr;
     }
 
     location = /tutorial-sisso-metal-non-metal {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorials/sisso-metal-nonmetal.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/sisso/sisso-metal-nonmetal.bkr;
     }
 
     location = /tutorial-FF-fit {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorials/FF-fit.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/ff-fit/FF-fit.bkr;
     }
 
     location = /tutorial-FF_fit {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorials/FF-fit.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/ff-fit/FF-fit.bkr;
     }
 
     location = /hands-on-learning-atomic-charges {
@@ -497,7 +493,7 @@ http {
     }
 
     location = /custom-analytics-example {
-      return 302 https://$server_name/notebook-edit/data/shared/tutorialsNew/custom-analytics-example/custom-analytics-example.bkr;
+      return 302 https://$server_name/notebook-edit/data/shared/tutorials/custom-analytics-example/custom-analytics-example.bkr;
     }
 {{/if}}
 
-- 
GitLab