mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Updated version check.
This commit is contained in:
parent
a42ab8677c
commit
9dae76fbf3
2 changed files with 3 additions and 12 deletions
|
|
@ -24,7 +24,6 @@ const Intl = ({ children }) => {
|
|||
export default function App({ Component, pageProps }) {
|
||||
const { basePath } = useRouter();
|
||||
const { dir } = useLocale();
|
||||
const version = process.env.VERSION;
|
||||
|
||||
return (
|
||||
<Intl>
|
||||
|
|
@ -35,12 +34,6 @@ export default function App({ Component, pageProps }) {
|
|||
<link rel="icon" type="image/png" sizes="16x16" href={`${basePath}/favicon-16x16.png`} />
|
||||
<link rel="manifest" href={`${basePath}/site.webmanifest`} />
|
||||
<link rel="mask-icon" href={`${basePath}/safari-pinned-tab.svg`} color="#5bbad5" />
|
||||
<link
|
||||
rel="preload"
|
||||
href={`https://i.umami.is/icon.png?v=${version}`}
|
||||
as="image"
|
||||
type="image/png"
|
||||
/>
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#fafafa" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue