mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-04 22:08:41 +01:00
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