diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-11 14:38:03 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-11 14:38:03 +0100 |
commit | 5a11ad35c3bfe5644cba12cf0d7e8251b4950763 (patch) | |
tree | 4c8ad869c64415672756e76b260b161b6b8dc6de | |
parent | bff164146b101a18392f22cd942ec1c9a8589628 (diff) |
fix cors headers for version
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | controller/utilityapicontroller.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ad30876e9..5aca36a58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ owncloud-news (4.0.2) +* **Bugfix**: Fix CORS headers for getting the version via the API * **Enhancement**: Transform YouTube urls to allow subscribing to channels and playlists owncloud-news (4.0.1) diff --git a/controller/utilityapicontroller.php b/controller/utilityapicontroller.php index 44745a074..c2a62e93a 100644 --- a/controller/utilityapicontroller.php +++ b/controller/utilityapicontroller.php @@ -39,7 +39,7 @@ class UtilityApiController extends ApiController { /** * @NoAdminRequired * @NoCSRFRequired - * @API + * @CORS */ public function version() { $version = $this->settings->getAppValue($this->appName, |