Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype CORSOrigin = CORSOrigin {
- _CORSOrigin :: Text
- data CORSSettings = CORSSettings {}
- corsOriginCodec :: TomlBiMap CORSOrigin AnyValue
- corsSettingsCodec :: TomlCodec CORSSettings
- loadGargCorsSettings :: IO CORSSettings
- corsUseOriginsForHosts :: Lens' CORSSettings Bool
- corsAllowedOrigins :: Lens' CORSSettings [CORSOrigin]
- corsAllowedHosts :: Lens' CORSSettings [CORSOrigin]
Documentation
newtype CORSOrigin #
Instances
IsString CORSOrigin # | |
Defined in Gargantext.API.Admin.Settings.CORS fromString :: String -> CORSOrigin # | |
Show CORSOrigin # | |
Defined in Gargantext.API.Admin.Settings.CORS showsPrec :: Int -> CORSOrigin -> ShowS # show :: CORSOrigin -> String # showList :: [CORSOrigin] -> ShowS # | |
Eq CORSOrigin # | |
Defined in Gargantext.API.Admin.Settings.CORS (==) :: CORSOrigin -> CORSOrigin -> Bool # (/=) :: CORSOrigin -> CORSOrigin -> Bool # |
data CORSSettings #
CORSSettings | |
|
Instances
Show CORSSettings # | |
Defined in Gargantext.API.Admin.Settings.CORS showsPrec :: Int -> CORSSettings -> ShowS # show :: CORSSettings -> String # showList :: [CORSSettings] -> ShowS # | |
Eq CORSSettings # | |
Defined in Gargantext.API.Admin.Settings.CORS (==) :: CORSSettings -> CORSSettings -> Bool # (/=) :: CORSSettings -> CORSSettings -> Bool # |
loadGargCorsSettings :: IO CORSSettings #
Loads the CORSSettings
from the toml
file.