Skip to content

Commit

Permalink
fix (alpha)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Feb 28, 2024
1 parent df103d3 commit 9263562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/oidc-client/src/initWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const initWorkerAsync = async(configuration, configurationName) => {
if(configuration.register) {
registration = await configuration.service_worker_register(serviceWorkerRelativeUrl);
} else {
// TODO better
registration = await navigator.serviceWorker.register(serviceWorkerRelativeUrl + "?v=" + codeVersion);
}

Expand Down

0 comments on commit 9263562

Please sign in to comment.