|
48 | 48 |
|
49 | 49 | <!-- Open Graph / Facebook --> |
50 | 50 | <meta property="og:type" content="website" /> |
51 | | - <meta property="og:url" content="https://github.com/yourusername/gitme" /> |
| 51 | + <meta property="og:url" content="https://akifejaz.github.io/gitme/" /> |
52 | 52 | <meta property="og:title" content="GitMe | AI-Powered GitHub Profile Analyzer" /> |
53 | 53 | <meta property="og:description" |
54 | 54 | content="Detailed visualization of your GitHub contributions, AI-synthesized professional summaries, and an integrated CV viewer." /> |
55 | 55 | <meta property="og:image" |
56 | | - content="https://raw.githubusercontent.com/yourusername/gitme/main/public/gitme_banner.png" /> |
| 56 | + content="https://akifejaz.github.io/gitme/gitme_banner.png" /> |
57 | 57 |
|
58 | 58 | <!-- Twitter --> |
59 | 59 | <meta property="twitter:card" content="summary_large_image" /> |
60 | | - <meta property="twitter:url" content="https://github.com/yourusername/gitme" /> |
| 60 | + <meta property="twitter:url" content="https://akifejaz.github.io/gitme/" /> |
61 | 61 | <meta property="twitter:title" content="GitMe | AI-Powered GitHub Profile Analyzer" /> |
62 | 62 | <meta property="twitter:description" |
63 | 63 | content="Visualize your developer impact and synthesize professional summaries with AI." /> |
64 | 64 | <meta property="twitter:image" |
65 | | - content="https://raw.githubusercontent.com/yourusername/gitme/main/public/gitme_banner.png" /> |
| 65 | + content="https://akifejaz.github.io/gitme/gitme_banner.png" /> |
66 | 66 |
|
67 | 67 | <title>GitMe | AI-Powered GitHub Profile Analyzer & Impact Dashboard</title> |
68 | 68 | <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> |
69 | 69 | <link rel="preconnect" href="https://api.github.com" /> |
70 | 70 | <link rel="dns-prefetch" href="https://api.github.com" /> |
71 | | - <script type="text/javascript"> |
72 | | - // Single Page Apps for GitHub Pages |
73 | | - // https://github.com/rafgraph/spa-github-pages |
74 | | - // Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License |
75 | | - // ---------------------------------------------------------------------- |
76 | | - // This script checks to see if a redirect is present in the query string, |
77 | | - // converts it back into the correct url and adds it to the |
78 | | - // browser's history using window.history.replaceState(...), |
79 | | - // which will cause the browser to refresh the page without losing |
80 | | - // the history objects. |
81 | | - // ---------------------------------------------------------------------- |
82 | | - (function (l) { |
83 | | - if (l.search[1] === '/') { |
84 | | - var decoded = l.search.slice(1).split('&').map(function (s) { |
85 | | - return s.replace(/~and~/g, '&') |
86 | | - }).filter(function (v) { |
87 | | - return v.indexOf('p=/') === 0 |
88 | | - })[0]; |
89 | | - if (decoded !== undefined) { |
90 | | - window.history.replaceState(null, null, |
91 | | - l.pathname.slice(0, -1) + decoded.slice(3) + l.hash |
92 | | - ); |
93 | | - } |
94 | | - } |
95 | | - }(window.location)) |
96 | | - </script> |
| 71 | + <!-- SPA deep-link restore. External file so the CSP can keep |
| 72 | + script-src 'self' (no 'unsafe-inline'). Bare relative path — Vite |
| 73 | + adds the base prefix exactly once for both dev and production. --> |
| 74 | + <script src="spa-redirect.js"></script> |
97 | 75 | </head> |
98 | 76 |
|
99 | 77 | <body> |
|
0 commit comments