Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b127868d
Unverified
Commit
b127868d
authored
Mar 05, 2020
by
Jonah Williams
Committed by
GitHub
Mar 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] update web template to remove some absolute paths (#52040)
parent
ad16823e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.html.tmpl
packages/flutter_tools/templates/app/web/index.html.tmpl
+4
-4
No files found.
packages/flutter_tools/templates/app/web/index.html.tmpl
View file @
b127868d
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"{{projectName}}"
>
<meta
name=
"apple-mobile-web-app-title"
content=
"{{projectName}}"
>
<link
rel=
"apple-touch-icon"
href=
"
/
icons/Icon-192.png"
>
<link
rel=
"apple-touch-icon"
href=
"icons/Icon-192.png"
>
<!-- Favicon -->
<!-- Favicon -->
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"
/
favicon.png"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"favicon.png"
/>
<title>
{{projectName}}
</title>
<title>
{{projectName}}
</title>
<link
rel=
"manifest"
href=
"
/
manifest.json"
>
<link
rel=
"manifest"
href=
"manifest.json"
>
</head>
</head>
<body>
<body>
<!-- This script installs service_worker.js to provide PWA functionality to
<!-- This script installs service_worker.js to provide PWA functionality to
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<script>
<script>
if
(
'serviceWorker'
in
navigator
)
{
if
(
'serviceWorker'
in
navigator
)
{
window
.
addEventListener
(
'load'
,
function
()
{
window
.
addEventListener
(
'load'
,
function
()
{
navigator
.
serviceWorker
.
register
(
'
/
flutter_service_worker.js'
);
navigator
.
serviceWorker
.
register
(
'flutter_service_worker.js'
);
});
});
}
}
</script>
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment