Skip to content

Commit 1142fb2

Browse files
Correction de l'application PWA
1 parent 97d6182 commit 1142fb2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

2025/src/html/layouts/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<link rel="stylesheet" href="css/bootstrap.css" />
2828
<link rel="stylesheet" href="css/style.css" />
2929
<link rel="stylesheet" href="css/main.css" />
30-
<link rel="manifest" href="/manifest.json">
30+
<link rel="manifest" href="./manifest.json">
3131
</head>
3232

3333
<body class="page-top">

2025/src/js/service-worker.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const CACHE_NAME = 'sotm-2025';
22
const urlsToCache = [
3-
'/',
4-
'/index.html',
5-
'/css/main.css',
6-
'/js/main.js'
3+
'./',
4+
'./index.html',
5+
'./css/main.css',
6+
'./js/main.js'
77
];
88

99
// Install event

0 commit comments

Comments
 (0)