Commit d3e322e2 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Config] adding a backend.

parent 97d89bae
......@@ -5,18 +5,18 @@ import Gargantext.Ends
import Gargantext.Types (ApiVersion(..))
defaultBackends :: NonEmpty Array Backend
defaultBackends = local :| [dev, demo]
defaultBackends = local :| [prod, dev, demo]
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"
demo = backend V10 "/api/" "https://demo.gargantext.org" "demo.gargantext.org"
local = backend V10 "/api/" "http://localhost:8008" "localhost"
defaultApps :: NonEmpty Array Frontend
defaultApps = relative :| [dev, demo, haskell, caddy]
defaultApps = relative :| [prod, dev, demo, haskell, caddy]
where
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)"
demo = frontend "/#/" "https://demo.gargantext.org" "gargantext.org (demo)"
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