forked from owncloud/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (29 loc) · 996 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ownCloud Phoenix</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#375f7E"/>
<link rel="manifest" href="manifest.json">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="core/css/uikit.owncloud.css" />
</head>
<body>
<section id="owncloud"></section>
<script data-main="core/js/core.bundle.js" src="node_modules/requirejs/require.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js')
.then(registration => {
// console.log(`Service Worker registered! Scope: ${registration.scope}`);
})
.catch(err => {
// console.log(`Service Worker registration failed: ${err}`);
});
});
}
</script>
</body>
</html>