Skip to content

Commit 715047e

Browse files
committed
Merge branch 'master' of github.com:zeit/micro-list
2 parents 013f38a + 82aa3d0 commit 715047e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const server = micro(async (req, res) => {
181181
let indexContent
182182

183183
try {
184-
indexContent = await toPromise(fs.readFile)(indexPath)
184+
indexContent = await toPromise(fs.readFile)(indexPath, 'utf8')
185185
} catch (err) {
186186
throw err
187187
}

0 commit comments

Comments
 (0)