aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-02-22 10:02:26 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-02-22 10:02:26 +0300
commit3dece70f5232fb25b74df027483d3dd18d8af8de (patch)
tree253f5d9b4c70ca1e5ef1602141a1f578536cfa76 /public
parentMerge pull request #153 from python-discord/dependabot/npm_and_yarn/types/nod... (diff)
Fixes Broken Links To Assets
Sets asset links to absolute paths, so they work on pages. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'public')
-rw-r--r--public/branding/browserconfig.xml2
-rw-r--r--public/index.html8
-rw-r--r--public/manifest.json6
3 files changed, 8 insertions, 8 deletions
diff --git a/public/branding/browserconfig.xml b/public/branding/browserconfig.xml
index 0dd2cec..6e813e5 100644
--- a/public/branding/browserconfig.xml
+++ b/public/branding/browserconfig.xml
@@ -2,7 +2,7 @@
<browserconfig>
<msapplication>
<tile>
- <square150x150logo src="branding/mstile-150x150.png"/>
+ <square150x150logo src="/branding/mstile-150x150.png"/>
<TileColor>#2d89ef</TileColor>
</tile>
</msapplication>
diff --git a/public/index.html b/public/index.html
index 4bf02d0..ca4f5ac 100644
--- a/public/index.html
+++ b/public/index.html
@@ -9,12 +9,12 @@
content="Python Discord Forms is the surveying system for the Python Discord server."
/>
- <link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
- <link rel="mask-icon" href="branding/safari-pinned-tab.svg" color="#5bbad5" />
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
+ <link rel="mask-icon" href="/branding/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#2d89ef" />
- <meta name="msapplication-config" content="branding/browserconfig.xml">
+ <meta name="msapplication-config" content="/branding/browserconfig.xml">
- <link rel="manifest" href="manifest.json" />
+ <link rel="manifest" href="/manifest.json" />
<title>Python Discord Forms</title>
</head>
<body>
diff --git a/public/manifest.json b/public/manifest.json
index a36c2b7..af23422 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -3,17 +3,17 @@
"name": "Python Discord Forms",
"icons": [
{
- "src": "branding/logo192.png",
+ "src": "/branding/logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
- "src": "branding/logo256.png",
+ "src": "/branding/logo256.png",
"type": "image/png",
"sizes": "256x256"
},
{
- "src": "branding/logo512.png",
+ "src": "/branding/logo512.png",
"type": "image/png",
"sizes": "512x512"
}