]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/FrontEnd.hs
[CORS] Adding CORS for test with frontend/Purescript.
[gargantext.git] / src / Gargantext / API / FrontEnd.hs
1 {-|
2 Module : Gargantext.API.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
11 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
12
13 {-# LANGUAGE DataKinds #-}
14 {-# LANGUAGE TemplateHaskell #-}
15
16 ---------------------------------------------------------------------
17 module Gargantext.API.FrontEnd
18 where
19
20 import Servant.Static.TH (createApiAndServerDecs)
21
22 ---------------------------------------------------------------------
23 $(createApiAndServerDecs "FrontEndAPI" "frontEndServer" "purescript-gargantext/dist")
24 ---------------------------------------------------------------------
25