fix links

This commit is contained in:
Bastian Ike
2021-01-11 15:05:02 +01:00
parent d2245376db
commit 9998889b49
3 changed files with 3 additions and 16 deletions

View File

@@ -5,9 +5,9 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="%RADAR_NAME%" />
<!-- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />-->
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.svg" />
<meta property="og:title" content="%RADAR_NAME%" />
<!-- <meta property="og:image" content="%PUBLIC_URL%/logo.svg" />-->
<meta property="og:image" content="%PUBLIC_URL%/logo.svg" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=0" />

View File

@@ -22,7 +22,7 @@ export type Ring = typeof rings[number]
// todo: fix
export function assetUrl(file: string) {
return '/' + file;
return process.env.PUBLIC_URL + '/' + file;
// return `/techradar/assets/${file}`
}

View File

@@ -1,13 +0,0 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"lib": ["es6", "es2015", "dom"],
"declaration": true,
"strict": true,
"types": ["node"],
"esModuleInterop": true,
"resolveJsonModule": true,
// "outDir": "../bin",
}
}