readd broken assetUrl helper
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user