mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-17 15:28:41 +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 */
|
/** @var \phpOMS\Model\Html\Head $head */
|
||||||
$head = $response->data['Content']->head;
|
$head = $response->data['Content']->head;
|
||||||
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js?v=1.0.0');
|
$nonce = $this->app->appSettings->getOption('script-nonce');
|
||||||
$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');
|
$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