Skip to content

Commit

Permalink
fix pwa error
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 13, 2023
1 parent 047e394 commit 7c1cc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default async function createConfigAsync() {
'queryString',
],
// swRegister: false,
swCustom: './src/sw.js',
swCustom: require.resolve('./src/sw.js'), // TODO make it possible to use relative path
pwaHead: [
{
tagName: 'link',
Expand Down

0 comments on commit 7c1cc5e

Please sign in to comment.