Skip to content

Commit ca74019

Browse files
committed
fix: remove %PUBLIC_URL%, forgot this is not CRA
1 parent 8eca658 commit ca74019

File tree

1 file changed

+5
-29
lines changed

1 file changed

+5
-29
lines changed

index.html

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,59 +8,35 @@
88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1010
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
11-
<link rel="icon" type="image/png" href="%PUBLIC_URL%/favicon.ico">
12-
<!-- <link rel="shortcut icon" href="favicon.ico?v=1"> -->
11+
<link rel="icon" type="image/png" href="/favicon.ico">
1312
<meta name="viewport" content="width=device-width, initial-scale=1" />
1413
<meta name="theme-color" content="#000000" />
15-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
14+
<link rel="apple-touch-icon" href="/logo192.png" />
1615
<!--
1716
manifest.json provides metadata used when your web app is installed on a
1817
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1918
-->
20-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
21-
<!--
22-
Notice the use of %PUBLIC_URL% in the tags above.
23-
It will be replaced with the URL of the `public` folder during the build.
24-
Only files inside the `public` folder can be referenced from the HTML.
25-
26-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
27-
work correctly both with client-side routing and a non-root public URL.
28-
Learn how to configure a non-root public URL by running `npm run build`.
29-
-->
19+
<link rel="manifest" href="/manifest.json" />
3020
<!-- Primary Meta Tags -->
3121
<title>MetaKGP</title>
3222
<meta name="title" content="MetaKGP" />
3323
<meta name="description" content="Metakgp is a group of people who collaborate on various projects, mostly related to IIT Kharagpur. We celebrate freedom and openness" />
34-
3524
<!-- Open Graph / Facebook -->
3625
<meta property="og:type" content="website" />
3726
<meta property="og:url" content="https://beta.metakgp.org/" />
3827
<meta property="og:title" content="MetaKGP" />
3928
<meta property="og:description" content="Metakgp is a group of people who collaborate on various projects, mostly related to IIT Kharagpur. We celebrate freedom and openness" />
40-
<meta property="og:image" content="%PUBLIC_URL%/black-large.jpg" />
41-
29+
<meta property="og:image" content="/black-large.jpg" />
4230
<!-- Twitter -->
4331
<meta property="twitter:card" content="summary_large_image" />
4432
<meta property="twitter:url" content="https://beta.metakgp.org/" />
4533
<meta property="twitter:title" content="MetaKGP" />
4634
<meta property="twitter:description" content="Metakgp is a group of people who collaborate on various projects, mostly related to IIT Kharagpur. We celebrate freedom and openness" />
47-
<meta property="twitter:image" content="%PUBLIC_URL%/black-large.jpg" />
48-
49-
<!-- Meta Tags Generated with https://metatags.io -->
35+
<meta property="twitter:image" content="/black-large.jpg" />
5036
</head>
5137
<body>
5238
<noscript>You need to enable JavaScript to run this app.</noscript>
5339
<div id="root"></div>
54-
<!--
55-
This HTML file is a template.
56-
If you open it directly in the browser, you will see an empty page.
57-
58-
You can add webfonts, meta tags, or analytics to this file.
59-
The build step will place the bundled scripts into the <body> tag.
60-
61-
To begin the development, run `npm start` or `yarn start`.
62-
To create a production bundle, use `npm run build` or `yarn build`.
63-
-->
6440
<script type="module" src="/src/index.tsx"></script>
6541
</body>
6642
</html>

0 commit comments

Comments
 (0)