Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ root.render(
)

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// unregister() to register() below. Note that this comes with some pitfalls.
// Learn more about service workers: https://cra.link/PWA
serviceWorker.unregister()

Expand Down
2 changes: 1 addition & 1 deletion src/serviceWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function checkValidServiceWorker(swUrl: string, config?: Config) {
headers: { 'Service-Worker': 'script' },
})
.then((response) => {
// Ensure service worker exists, and that we really are getting a JS file.
// Ensure the service worker exists and that we are really getting a JS file.
const contentType = response.headers.get('content-type')
if (
response.status === 404 ||
Expand Down