forked from Snck3rs/contao-leaflet-maps
Prepare for backend usage.
This commit is contained in:
@@ -40,7 +40,7 @@ class ContaoAssets implements Assets
|
||||
break;
|
||||
|
||||
case static::TYPE_FILE:
|
||||
if (!\Config::get('debugMode')) {
|
||||
if (!\Config::get('debugMode') && TL_MODE === 'FE') {
|
||||
$script .= '|static';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user