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:
parent
f0ee5ee2ae
commit
5be74723d5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user