dynamic cors policy

This commit is contained in:
Aiden McClelland
2020-12-04 18:26:55 -07:00
committed by Keagan McClelland
parent 7d493e12d3
commit bcfe7c0d21
3 changed files with 12 additions and 15 deletions

View File

@@ -41,7 +41,6 @@ data AppSettings = AppSettings
-- ^ Should all log messages be displayed?
, appMgrVersionSpec :: VersionRange
, appFilesystemBase :: Text
, appCorsOverrideStar :: Maybe Text
}
deriving Show
@@ -64,7 +63,6 @@ instance FromJSON AppSettings where
appMgrVersionSpec <- o .: "app-mgr-version-spec"
appFilesystemBase <- o .: "filesystem-base"
appCorsOverrideStar <- o .:? "cors-override-star"
return AppSettings { .. }
-- | Raw bytes at compile time of @config/settings.yml@