Skip to content

Commit

Permalink
Merge pull request #10 from Saiv46/patch-1
Browse files Browse the repository at this point in the history
Quickfix
  • Loading branch information
wvffle authored Apr 3, 2020
2 parents 274163f + 19dbd11 commit 72f49cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let proxyInstance = null

fastify.get('/', async (request, reply) => {
reply.type('html')
return fs.createReadStream('public/index.html', 'utf8')
return fs.createReadStream(`${__dirname}/../public/index.html`, 'utf8')
})

// ===
Expand Down

0 comments on commit 72f49cc

Please sign in to comment.