Skip to content

Commit 4b97af7

Browse files
fix(website): fix toString on read of index.html
1 parent 0c0cd61 commit 4b97af7

File tree

1 file changed

+1
-1
lines changed
  • packages/overmind-website/backend

1 file changed

+1
-1
lines changed

packages/overmind-website/backend/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ app.get('/backend/search', (req, res) => {
136136
res.send(hits.slice(0, 5))
137137
})
138138

139-
let indexHtml = fs.readFileSync(path.join(__dirname, 'index.html'))
139+
let indexHtml = fs.readFileSync(path.join(__dirname, 'index.html')).toString()
140140

141141
if (IS_PRODUCTION) {
142142
indexHtml = indexHtml.replace(

0 commit comments

Comments
 (0)