build: update web config

This commit is contained in:
Matias de Andrea
2024-07-13 12:08:57 +02:00
parent beb326c6a4
commit 869ef6ad64
2 changed files with 5 additions and 12 deletions

View File

@ -10,7 +10,7 @@ environment:
dependencies:
cached_network_image: 3.3.1
collection: 1.18.0
dio: 5.5.0
dio: 5.5.0+1
file_saver: 0.2.13
flare_flutter: 3.0.2
flutter:

View File

@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
<meta lang="en">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="TV Randshow | TV Randshow help to choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB">
@ -37,19 +37,12 @@
<link rel="stylesheet" type="text/css" href="splash/style.css">
</head>
<body>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('flutter_service_worker.js');
});
}
</script>
<script src="flutter_bootstrap.js" async></script>
<picture id="splash">
<source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x" media="(prefers-color-scheme: light) or (prefers-color-scheme: no-preference)">
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x" media="(prefers-color-scheme: dark)">
<img class="center" src="splash/img/light-1x.png" />
</picture>
<script src="main.dart.js" type="application/javascript"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
@ -72,4 +65,4 @@
}
</script>
</body>
</html>
</html>