Skip to content

Commit

Permalink
fix(web-ui): fix typo (#914)
Browse files Browse the repository at this point in the history
* fix(web-ui): fix typo

* perf(web-ui): include json in service worker cache

---------

Co-authored-by: Johan Book <{ID}+{username}@users.noreply.github.com>
  • Loading branch information
johanbook and Johan Book authored Jul 21, 2024
1 parent 6f7e614 commit 9524886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/web-ui/public/locales/en/blog-photos.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"error": "Unable to fetch photos",
"no-photos": "No photos has been uploaded yet. Create a blog post to make that happen!"
"no-photos": "No photos have been uploaded yet. Create a blog post to make that happen!"
}
2 changes: 1 addition & 1 deletion services/web-ui/src/serviceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ workbox.routing.registerRoute(

// Assets
workbox.routing.registerRoute(
/\.(css|html|js)$/,
/\.(css|html|js|json)$/,
new workbox.strategies.NetworkFirst({
cacheName: "assets",
plugins: [
Expand Down

0 comments on commit 9524886

Please sign in to comment.