Skip to content

Commit

Permalink
fix(next-pwa): fixed build-sw-entry-worker's filename result
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed Jun 15, 2023
1 parent c4854a1 commit 7a6e099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-pwa/src/build-sw-entry-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ export const buildSWEntryWorker = ({
}
});

return name;
return `/${name}`;
};

0 comments on commit 7a6e099

Please sign in to comment.