feat(assets): make URLs for favicons relative (#1343)

pull/1338/head
1138-4EB 2017-10-30 08:56:21 +01:00 committed by Anthony Lapenna
parent 86e5ca57e9
commit a028413496
3 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<browserconfig> <browserconfig>
<msapplication> <msapplication>
<tile> <tile>
<square150x150logo src="/ico/mstile-150x150.png"/> <square150x150logo src="ico/mstile-150x150.png"/>
<TileColor>#2d89ef</TileColor> <TileColor>#2d89ef</TileColor>
</tile> </tile>
</msapplication> </msapplication>

View File

@ -2,12 +2,12 @@
"name": "Portainer", "name": "Portainer",
"icons": [ "icons": [
{ {
"src": "/ico/android-chrome-192x192.png", "src": "ico/android-chrome-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png" "type": "image/png"
}, },
{ {
"src": "/ico/android-chrome-256x256.png", "src": "ico/android-chrome-256x256.png",
"sizes": "256x256", "sizes": "256x256",
"type": "image/png" "type": "image/png"
} }

View File

@ -24,13 +24,13 @@
<!-- endbuild --> <!-- endbuild -->
<!-- Fav and touch icons --> <!-- Fav and touch icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/ico/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="ico/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/ico/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/ico/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="ico/favicon-16x16.png">
<link rel="manifest" href="/ico/manifest.json"> <link rel="manifest" href="ico/manifest.json">
<link rel="mask-icon" href="/ico/safari-pinned-tab.svg" color="#5bbad5"> <link rel="mask-icon" href="ico/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/ico/favicon.ico"> <link rel="shortcut icon" href="ico/favicon.ico">
<meta name="msapplication-config" content="/ico/browserconfig.xml"> <meta name="msapplication-config" content="ico/browserconfig.xml">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
</head> </head>