Commit ce047da3 authored by James Laver's avatar James Laver

Merge branch 'dev-backend-connection' of...

Merge branch 'dev-backend-connection' of ssh://gitlab.iscpif.fr:20022/gargantext/purescript-gargantext into dev-backend-connection
parents 606de8e2 d3e322e2
...@@ -5,18 +5,18 @@ import Gargantext.Ends ...@@ -5,18 +5,18 @@ import Gargantext.Ends
import Gargantext.Types (ApiVersion(..)) import Gargantext.Types (ApiVersion(..))
defaultBackends :: NonEmpty Array Backend defaultBackends :: NonEmpty Array Backend
defaultBackends = local :| [dev, demo] defaultBackends = local :| [prod, dev, demo]
where where
-- prod = backend V10 "/api/" "https://gargantext.org" "gargantext.org" prod = backend V10 "/api/" "https://v4.gargantext.org" "v4.gargantext.org"
dev = backend V10 "/api/" "https://dev.gargantext.org" "dev.gargantext.org" dev = backend V10 "/api/" "https://dev.gargantext.org" "dev.gargantext.org"
demo = backend V10 "/api/" "https://demo.gargantext.org" "demo.gargantext.org" demo = backend V10 "/api/" "https://demo.gargantext.org" "demo.gargantext.org"
local = backend V10 "/api/" "http://localhost:8008" "localhost" local = backend V10 "/api/" "http://localhost:8008" "localhost"
defaultApps :: NonEmpty Array Frontend defaultApps :: NonEmpty Array Frontend
defaultApps = relative :| [dev, demo, haskell, caddy] defaultApps = relative :| [prod, dev, demo, haskell, caddy]
where where
relative = frontend "/#/" "" "Relative" relative = frontend "/#/" "" "Relative"
-- prod = frontend "/#/" "https://gargantext.org" "gargantext.org" prod = frontend "/#/" "https://v4.gargantext.org" "v4.gargantext.org"
dev = frontend "/#/" "https://dev.gargantext.org" "gargantext.org (dev)" dev = frontend "/#/" "https://dev.gargantext.org" "gargantext.org (dev)"
demo = frontend "/#/" "https://demo.gargantext.org" "gargantext.org (demo)" demo = frontend "/#/" "https://demo.gargantext.org" "gargantext.org (demo)"
haskell = frontend "/#/" "http://localhost:8008" "localhost.gargantext" haskell = frontend "/#/" "http://localhost:8008" "localhost.gargantext"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment