From 541666fa14e20890510a98cf9e11eed31c2033b5 Mon Sep 17 00:00:00 2001
From: Mudada <mael.nicolas@imt.fr>
Date: Thu, 14 Feb 2019 11:28:21 +0100
Subject: [PATCH] [HELP] commit the gargantext demo config

---
 src/Gargantext/Config.purs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Gargantext/Config.purs b/src/Gargantext/Config.purs
index aba09f25..79c31c4a 100644
--- a/src/Gargantext/Config.purs
+++ b/src/Gargantext/Config.purs
@@ -27,6 +27,7 @@ endConfig = endConfig' V10
 endConfig' :: ApiVersion -> EndConfig
 endConfig' v = { front : frontRelative
                , back  : backLocal v  }
+--               , back  : backDemo v  }
 
 ------------------------------------------------------------------------
 frontRelative :: Config
@@ -61,6 +62,11 @@ backLocal v = { baseUrl: "http://localhost:8008"
               , prePath: "/api/" <> show v <> "/"
               }
 
+backDemo :: ApiVersion -> Config
+backDemo v = { baseUrl: "https://demo.gargantext.org"
+            , prePath: "/api/" <> show v <> "/"
+            }
+
 backDev :: ApiVersion -> Config
 backDev v = { baseUrl: "https://dev.gargantext.org"
             , prePath: "/api/" <> show v <> "/"
-- 
2.21.0