chore: add to-do
This commit is contained in:
parent
612b7e64b4
commit
6562f35c0c
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ if (url)
|
||||||
<Serialize id="app-config" data={appConfig} />
|
<Serialize id="app-config" data={appConfig} />
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
/**
|
||||||
|
* TODO: registration should be handled by astro-sw integration
|
||||||
|
*/
|
||||||
const registerSW = async () => {
|
const registerSW = async () => {
|
||||||
if ("serviceWorker" in navigator) {
|
if ("serviceWorker" in navigator) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue