Skip to content

Commit

Permalink
feat: update path for static files in the server handler to use dynam…
Browse files Browse the repository at this point in the history
…ic import.meta.dirname
  • Loading branch information
kalinkrustev committed Feb 24, 2025
1 parent 8029f55 commit f1f9d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono-log/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const init = async () => {
path: '/{param*}',
handler: {
directory: {
path: 'build',
path: `${import.meta.dirname}/build`,
index: ['index.html']
}
}
Expand Down

0 comments on commit f1f9d03

Please sign in to comment.