@@ -29,29 +29,29 @@ |
||
29 | 29 | $app->getContainer()->registerCapability(\OCA\Theming\Capabilities::class); |
30 | 30 | |
31 | 31 | $linkToCSS = \OC::$server->getURLGenerator()->linkToRoute( |
32 | - 'theming.Theming.getStylesheet', |
|
33 | - [ |
|
34 | - 'v' => \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0'), |
|
35 | - ] |
|
32 | + 'theming.Theming.getStylesheet', |
|
33 | + [ |
|
34 | + 'v' => \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0'), |
|
35 | + ] |
|
36 | 36 | ); |
37 | 37 | \OCP\Util::addHeader( |
38 | - 'link', |
|
39 | - [ |
|
40 | - 'rel' => 'stylesheet', |
|
41 | - 'href' => $linkToCSS, |
|
42 | - ] |
|
38 | + 'link', |
|
39 | + [ |
|
40 | + 'rel' => 'stylesheet', |
|
41 | + 'href' => $linkToCSS, |
|
42 | + ] |
|
43 | 43 | ); |
44 | 44 | |
45 | 45 | $linkToJs = \OC::$server->getURLGenerator()->linkToRoute( |
46 | - 'theming.Theming.getJavascript', |
|
47 | - [ |
|
48 | - 'v' => \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0'), |
|
49 | - ] |
|
46 | + 'theming.Theming.getJavascript', |
|
47 | + [ |
|
48 | + 'v' => \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0'), |
|
49 | + ] |
|
50 | 50 | ); |
51 | 51 | \OCP\Util::addHeader( |
52 | - 'script', |
|
53 | - [ |
|
54 | - 'src' => $linkToJs, |
|
55 | - 'nonce' => \OC::$server->getContentSecurityPolicyNonceManager()->getNonce() |
|
56 | - ], '' |
|
52 | + 'script', |
|
53 | + [ |
|
54 | + 'src' => $linkToJs, |
|
55 | + 'nonce' => \OC::$server->getContentSecurityPolicyNonceManager()->getNonce() |
|
56 | + ], '' |
|
57 | 57 | ); |
58 | 58 | \ No newline at end of file |