diff --git a/packages/common/utils.js b/packages/common/utils.js index 99624b4d7b3348e7f2932dfc96aec4af018a374b..7c133605496c568dbb4e09f0e52462a3315ff3fb 100644 --- a/packages/common/utils.js +++ b/packages/common/utils.js @@ -220,6 +220,8 @@ export const getAssetURL = (path) => { // We already found the path before, just go with it if (_assetBaseURL) { return new URL(path, _assetBaseURL).href; + } else { + console.error('Using getAssetURL(), but initAssetBaseURL() wasn\'t called yet'); } // If all fails we just fall back to relative paths and hope the