Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions
This commit is contained in:
commit
4e1e42ed5a
2 changed files with 4 additions and 1 deletions
|
@ -63,6 +63,7 @@
|
||||||
- Access to Health API now requires authentication with an API Key with access to `health.read` scope allowed
|
- Access to Health API now requires authentication with an API Key with access to `health.read` scope allowed
|
||||||
- Added option to force HTTPS connection to the Appwrite server (_APP_OPTIONS_FORCE_HTTPS)
|
- Added option to force HTTPS connection to the Appwrite server (_APP_OPTIONS_FORCE_HTTPS)
|
||||||
- Now using your `_APP_SYSTEM_EMAIL_ADDRESS` as the email address for issuing and renewing SSL certificates
|
- Now using your `_APP_SYSTEM_EMAIL_ADDRESS` as the email address for issuing and renewing SSL certificates
|
||||||
|
- Block iframe access to Appwrite console using the `X-Frame-Options` header.
|
||||||
|
|
||||||
# Version 0.6.2 (PRE-RELEASE)
|
# Version 0.6.2 (PRE-RELEASE)
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,9 @@ App::init(function ($utopia, $request, $response, $layout) {
|
||||||
$response
|
$response
|
||||||
->addHeader('Cache-Control', 'public, max-age='.$time)
|
->addHeader('Cache-Control', 'public, max-age='.$time)
|
||||||
->addHeader('Expires', \date('D, d M Y H:i:s', \time() + $time).' GMT') // 45 days cache
|
->addHeader('Expires', \date('D, d M Y H:i:s', \time() + $time).' GMT') // 45 days cache
|
||||||
->addHeader('X-UA-Compatible', 'IE=Edge'); // Deny IE browsers from going into quirks mode
|
->addHeader('X-Frame-Options', 'SAMEORIGIN') // Avoid console and homepage from showing in iframes
|
||||||
|
->addHeader('X-UA-Compatible', 'IE=Edge') // Deny IE browsers from going into quirks mode
|
||||||
|
;
|
||||||
|
|
||||||
$route = $utopia->match($request);
|
$route = $utopia->match($request);
|
||||||
$scope = $route->getLabel('scope', '');
|
$scope = $route->getLabel('scope', '');
|
||||||
|
|
Loading…
Reference in a new issue