fix links
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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}`
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user