]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/Admin/FrontEnd.hs
[FEAT] Patches to scores (WIP)
[gargantext.git] / src / Gargantext / API / Admin / FrontEnd.hs
1 {-|
2 Module : Gargantext.API.Admin.FrontEnd
3 Description : Server FrontEnd API
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9
10 Loads all static file for the front-end.
11
12 -}
13
14 {-# LANGUAGE TypeOperators #-}
15
16 ---------------------------------------------------------------------
17 module Gargantext.API.Admin.FrontEnd where
18
19 import Servant
20
21 type FrontEndAPI = Raw
22
23 frontEndServer :: Server FrontEndAPI
24 frontEndServer = serveDirectoryFileServer "./purescript-gargantext/dist"