Skip to content

Commit 689b7ba

Browse files
author
jianjian.ma
committed
feat: add PWA support
1 parent bdf17fa commit 689b7ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public/serviceWorker.js

app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function RootLayout({
5050
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap"
5151
rel="stylesheet"
5252
></link>
53-
<script src="/serviceWorker.js"></script>
53+
<script src="/serviceWorker.js" async></script>
5454
</head>
5555
<body>{children}</body>
5656
</html>

0 commit comments

Comments
 (0)