Skip to content

Commit

Permalink
feat: add PWA support
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjian.ma committed Mar 27, 2023
1 parent bdf17fa commit 689b7ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/serviceWorker.js
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function RootLayout({
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap"
rel="stylesheet"
></link>
<script src="/serviceWorker.js"></script>
<script src="/serviceWorker.js" async></script>
</head>
<body>{children}</body>
</html>
Expand Down

0 comments on commit 689b7ba

Please sign in to comment.