We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756fe3f commit 9e6ceacCopy full SHA for 9e6ceac
src/main.tsx
@@ -41,7 +41,8 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
41
42
// Register service worker for PWA support
43
if ("serviceWorker" in navigator) {
44
- const isHttpProtocol = window.location.protocol === "http:" || window.location.protocol === "https:";
+ const isHttpProtocol =
45
+ window.location.protocol === "http:" || window.location.protocol === "https:";
46
if (isHttpProtocol) {
47
window.addEventListener("load", () => {
48
navigator.serviceWorker
0 commit comments