projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f68ce7
)
Switched to forcing UTF-8 for file reads.
author
sabadev
<dev@sabadev.xyz>
Sun, 25 Apr 2021 03:42:08 +0000
(23:42 -0400)
committer
sabadev
<dev@sabadev.xyz>
Sun, 25 Apr 2021 03:42:08 +0000
(23:42 -0400)
package.yaml
patch
|
blob
|
history
src/Server.hs
patch
|
blob
|
history
diff --git
a/package.yaml
b/package.yaml
index
235ffa6
..
f7da016
100644
(file)
--- a/
package.yaml
+++ b/
package.yaml
@@
-38,6
+38,7
@@
dependencies:
- tagsoup == 0.14.8
- text == 1.2.4.1
- warp == 3.3.14
+- with-utf8 == 1.0.2.2
default-extensions:
- DataKinds
diff --git
a/src/Server.hs
b/src/Server.hs
index
1c1b57c
..
12404bd
100644
(file)
--- a/
src/Server.hs
+++ b/
src/Server.hs
@@
-12,7
+12,7
@@
import StyleSheet
import qualified Clay as C
import qualified Data.ByteString.Lazy as B
import qualified Data.Text as T
-import qualified Data.Text.IO as T
+import qualified Data.Text.IO
.Utf8
as T
app :: Application
app = serve apiProxy api