mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
fix: use APP_VERSION_STABLE
This commit is contained in:
parent
644bbe1f5b
commit
1295128b10
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ App::init()
|
|||
$response->addHeader('Strict-Transport-Security', 'max-age=' . (60 * 60 * 24 * 126)); // 126 days
|
||||
}
|
||||
|
||||
$responseVersion = System::getEnv('_APP_VERSION', 'UNKNOWN');
|
||||
$responseVersion = APP_VERSION_STABLE;
|
||||
if ($responseVersion !== 'UNKNOWN') {
|
||||
$responseVersion = \explode('.', $responseVersion);
|
||||
$responseVersion[2] = '0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue