mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-18 15:58:40 +00:00
lighthouse improvements
This commit is contained in:
parent
ff8b7b7bf8
commit
368b99212c
|
|
@ -49,9 +49,11 @@ final class BackendController extends Controller
|
|||
{
|
||||
/** @var \phpOMS\Model\Html\Head $head */
|
||||
$head = $response->data['Content']->head;
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js?v=1.0.0');
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js?v=1.0.0');
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js?v=1.0.0');
|
||||
$nonce = $this->app->appSettings->getOption('script-nonce');
|
||||
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js?v=1.0.0', ['nonce' => $nonce]);
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js?v=1.0.0', ['nonce' => $nonce]);
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js?v=1.0.0', ['nonce' => $nonce]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user