build: rebuild the student app (cast receiver diagnostics)
This commit is contained in:
@@ -16,15 +16,14 @@
|
||||
<meta name="apple-mobile-web-app-title" content="BM II°" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<script>
|
||||
// The Cast receiver SDK loads only on /cast, in parallel with the app.
|
||||
// The Cast receiver SDK loads only on /cast, as a parser-inserted
|
||||
// blocking script, so it has run before the app starts (as in the cast
|
||||
// spike). The path check mirrors isCastPath in src/lib/cast/path.ts.
|
||||
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)
|
||||
document.write('<script id="bm-caf" src="https://www.gstatic.com/cast/sdk/libs/caf_receiver/v3/cast_receiver_framework.js"><\/script>')
|
||||
}
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-BxubRpHd.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DbE8VwcP.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BM6lpb_3.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user