Skip to content

Commit

Permalink
fix: HMR 404
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Aug 5, 2022
1 parent 6eaad4a commit 0929f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/render/dev/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export async function render(
scripts.add({
props: {
type: 'module',
src: '/@id/astro/runtime/client/hmr.js',
src: new URL('../../../runtime/client/hmr.js', import.meta.url).pathname,
},
children: '',
});
Expand Down

0 comments on commit 0929f7c

Please sign in to comment.