diff --git a/public/index.html b/public/index.html index 27a01ac..9b39235 100644 --- a/public/index.html +++ b/public/index.html @@ -5,9 +5,9 @@ - + - + diff --git a/src/config.ts b/src/config.ts index ec8a5dd..f404b34 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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}` } diff --git a/tasks/_tsconfig.json b/tasks/_tsconfig.json deleted file mode 100644 index 9dfc5c0..0000000 --- a/tasks/_tsconfig.json +++ /dev/null @@ -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", - } -}