build: rebuild the student app (cast receiver and cast mode)

This commit is contained in:
Jakub Zych
2026-11-07 08:35:13 +01:00
parent de1e4624bc
commit d6dbcb48bf
57 changed files with 70 additions and 56 deletions

View File

@@ -15,7 +15,16 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="BM II°" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<script type="module" crossorigin src="/assets/index-D072-v__.js"></script>
<script>
// The Cast receiver SDK loads only on /cast, in parallel with the app.
if (location.pathname === '/cast' || location.pathname === '/cast/') {
var caf = document.createElement('script')
caf.id = 'bm-caf'
caf.src = 'https://www.gstatic.com/cast/sdk/libs/caf_receiver/v3/cast_receiver_framework.js'
document.head.appendChild(caf)
}
</script>
<script type="module" crossorigin src="/assets/index-BxubRpHd.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BM6lpb_3.css">
</head>
<body>