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
10 Loads all static file for the front-end.
14 {-# LANGUAGE TypeOperators #-}
16 ---------------------------------------------------------------------
17 module Gargantext.API.Admin.FrontEnd where
20 import Servant.Server.StaticFiles (serveDirectoryFileServer)
22 type FrontEndAPI = Raw
24 frontEndServer :: Server FrontEndAPI
25 frontEndServer = serveDirectoryFileServer "./purescript-gargantext/dist"