|
@@ -9,8 +9,13 @@
|
9
|
9
|
|
10
|
10
|
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
11
|
11
|
<link rel="stylesheet" href="css/all.css">
|
12
|
|
- <link rel="manifest" href="static/pwa/manifest.json">
|
|
12
|
+ <link rel="manifest" id="manifest-placeholder">
|
|
13
|
+
|
13
|
14
|
<script>
|
|
15
|
+ // Dynamically generate the manifest location URL. It must be served from the document origin, and we may have
|
|
16
|
+ // the base pointing to the CDN. This way we can generate a full URL which will bypass the base.
|
|
17
|
+ document.querySelector('#manifest-placeholder').setAttribute('href', window.location.origin + '/manifest.json');
|
|
18
|
+
|
14
|
19
|
document.addEventListener('DOMContentLoaded', () => {
|
15
|
20
|
if (!JitsiMeetJS.app) {
|
16
|
21
|
return;
|