mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #31493 from nextcloud/bugfix/noid/app-script-main
This commit is contained in:
commit
ec4280eda0
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class JSResourceLocator extends ResourceLocator {
|
|||
|| $this->cacheAndAppendCombineJsonIfExist($this->serverroot, $script.'.json')
|
||||
|| $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')
|
||||
|| $this->appendIfExist($this->serverroot, 'core/'.$script.'.js')
|
||||
|| $this->appendIfExist($this->serverroot, "dist/core-$scriptName.js")
|
||||
|| (strpos($scriptName, '/') === -1 && $this->appendIfExist($this->serverroot, "dist/core-$scriptName.js"))
|
||||
|| $this->cacheAndAppendCombineJsonIfExist($this->serverroot, 'core/'.$script.'.json')
|
||||
) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue