Skip to content

Commit 42b13fa

Browse files
authored
Update service worker files (#64)
The following recent issue appear where users were getting `AbortError: Failed to register a ServiceWorker for scope ('https://smalldevtalk.net/src/serviceWorker/') with script ('https://smalldevtalk.net/src/serviceWorker/sw.js'): An unknown error occurred when fetching the script.` I was unfortunately not able to replicate this issue or find a cause for it so I just updated the service worker files hoping that may address this issue.
1 parent ce6bad5 commit 42b13fa

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
.pnp.js
55

66
# VS code
7-
.vscode/settings.json
8-
.vscode/launch.json
7+
.vscode/
98

109
# Tests
11-
/coverage
10+
/coverage
11+
cypress/screenshots/

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,9 @@ <h2>Twitter</h2>
352352
class="twitter-timeline"
353353
data-height="1000"
354354
href="https://twitter.com/SmallDevTalk?ref_src=twsrc%5Etfw"
355-
>Tweets by SmallDevTalk</a
356355
>
356+
Tweets by SmallDevTalk
357+
</a>
357358
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
358359
</div>
359360
<!-- end twitter -->

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"private": true,
1818
"description": "Small Dev Talk - Talk with the Developers of the Future! Find interviews, news articles and reviews on the latest in the indie scene.",
1919
"main": "index.html",
20-
"type": "module",
2120
"devDependencies": {
2221
"cypress": "^14.5.4",
2322
"eslint": "^9.33.0",

src/serviceWorker/sw.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/serviceWorker/sw.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/serviceWorker/workbox-024e8d08.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/serviceWorker/workbox-db952f2a.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)