In some envs the rewrite rules for pretty URLs apply to all CSS files, so let's not end the route name with that etension.
Fixes #315
],
[
'name' => 'Theming#getStylesheet',
- 'url' => '/styles.css',
+ 'url' => '/styles',
'verb' => 'GET',
],
[
\OC_Response::setExpiresHeader(gmdate('D, d M Y H:i:s', time() + (60*60*24*45)) . ' GMT');
\OC_Response::enableCaching();
- $response = new Http\DataDownloadResponse($responseCss, 'style.css', 'text/css');
+ $response = new Http\DataDownloadResponse($responseCss, 'style', 'text/css');
$response->cacheFor(3600);
return $response;
}