seonbi 0.3.1 → 0.3.2
raw patch · 3 files changed
+14/−2 lines, 3 files
Files
- CHANGES.md +11/−0
- app/seonbi-api.hs +2/−1
- seonbi.cabal +1/−1
CHANGES.md view
@@ -1,6 +1,17 @@ Seonbi changelog ================ +Version 0.3.2+-------------++Released on August 11, 2022.++ - HTTP API now allows any headers from cross-origin. (Previously, it allowed+ only `Content-Type`.)+ - HTTP API now respond with header `Vary: Origin` for more accurate cache+ control.++ Version 0.3.1 -------------
app/seonbi-api.hs view
@@ -197,7 +197,8 @@ headers :: [Header] headers = headerAdder [ ("Content-Type", "application/json")- , ("Access-Control-Allow-Headers", "content-type")+ , ("Access-Control-Allow-Headers", "*")+ , ("Vary", "origin") ] headerAdder :: [Header] -> [Header] headerAdder = case allowOrigin of
seonbi.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: seonbi-version: 0.3.1+version: 0.3.2 synopsis: SmartyPants for Korean language description: Please see the README.md on GitHub at <https://github.com/dahlia/seonbi>. category: Text