Skip to content

Commit

Permalink
Fixes #49
Browse files Browse the repository at this point in the history
  • Loading branch information
gino0631 committed Jan 21, 2020
1 parent 9892843 commit cbe2c00
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased]

## 0.11.1 – 2020-01-21
### Fixed
- Nextcloud crash since 0.11.0
[#49](https://github.com/gino0631/nextcloud-metadata/issues/49)

## 0.11.0 – 2020-01-20
### Added
- Compatibility with Nextcloud 18.
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
See the [README](https://github.com/gino0631/nextcloud-metadata/blob/master/README.md) for the supported file types and limitations.]]>
</description>
<version>0.11.0</version>
<version>0.11.1</version>
<licence>agpl</licence>
<author>gino0631</author>
<category>files</category>
Expand Down
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(array $params = []) {
$policy = new \OCP\AppFramework\Http\EmptyContentSecurityPolicy();
$policy->addAllowedConnectDomain('https://nominatim.openstreetmap.org/');
$policy->addAllowedFrameDomain('https://www.openstreetmap.org/');
$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy);
\OC::$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy);
});
}
}

0 comments on commit cbe2c00

Please sign in to comment.