readd broken assetUrl helper

This commit is contained in:
Bastian Ike
2021-01-25 15:05:15 +01:00
parent 872df4972c
commit e8381eb332

View File

@@ -40,3 +40,8 @@ export function isMobileViewport() {
const width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
return width < 1200;
}
export function assetUrl(file: string) {
return process.env.PUBLIC_URL + '/' + file;
// return `/techradar/assets/${file}`
}