Skip to content

Commit

Permalink
scope on prod to /search/
Browse files Browse the repository at this point in the history
  • Loading branch information
sergesoroka committed Oct 9, 2024
1 parent e8d3988 commit 6845f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Main = () => {
if ("serviceWorker" in navigator) {
try {
const registration = await navigator.serviceWorker.register(base_url, {
scope: "/search",
scope: scope_url,
});
console.log("scope", registration.scope);
console.log("controlled", navigator.serviceWorker.controller);
Expand Down

0 comments on commit 6845f9f

Please sign in to comment.