Skip to content

Commit

Permalink
fix: use correct public folder path
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchini committed Sep 6, 2020
1 parent bf89d19 commit 852009a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/npm-otp-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function main () {
}
})
app.register(require('fastify-static'), {
root: path.join(__dirname, 'public'),
root: path.join(__dirname, '../public'),
prefix: '/public/'
})
app.register(require('fastify-cors'), { })
Expand Down

0 comments on commit 852009a

Please sign in to comment.