Skip to content

Commit

Permalink
build: update web config
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreamatias committed Jul 13, 2024
1 parent beb326c commit 869ef6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 4 additions & 11 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -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">

Expand Down Expand Up @@ -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/",
Expand All @@ -72,4 +65,4 @@
}
</script>
</body>
</html>
</html>

0 comments on commit 869ef6a

Please sign in to comment.