mirror of
https://github.com/flutter/flutter.git
synced 2026-02-11 21:33:08 +08:00
Introduce a self-cleaning service worker to replace the old one. Previous attempts (https://github.com/flutter/flutter/pull/170918, https://github.com/flutter/flutter/pull/173609) had (accidentally?) disabled the loading of the service worker in `flutter.js`. This PR preserves the logic for loading the service worker, and it prints a deprecation warning. Towards https://github.com/flutter/flutter/issues/156910 Closes https://github.com/flutter/flutter/issues/106225
25 lines
950 B
HTML
25 lines
950 B
HTML
<!DOCTYPE HTML>
|
|
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file. -->
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
<meta name="description" content="A demo app for Flutter's material and cupertino widgets, as well as many other features of the Flutter SDK.">
|
|
|
|
<!-- iOS meta tags & icons -->
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="Flutter Gallery">
|
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
|
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
|
|
|
|
<title>Flutter Gallery</title>
|
|
<link rel="manifest" href="manifest.json">
|
|
</head>
|
|
<body>
|
|
<script src="main.dart.js" type="application/javascript"></script>
|
|
</body>
|
|
</html>
|