1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-23 10:52:31 +01:00

Configure CSP

This commit is contained in:
FreeScout 2023-09-30 03:04:11 -07:00
parent f0ee5ee2ae
commit 5be74723d5

View File

@ -97,7 +97,7 @@ class JavascriptRenderer
$this->baseUrl = $baseUrl;
if ($basePath === null) {
$basePath = __DIR__ . DIRECTORY_SEPARATOR . 'Resources';
$basePath = str_replace('/overrides/', '/vendor/', __DIR__) . DIRECTORY_SEPARATOR . 'Resources';
}
$this->basePath = $basePath;