mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
chore: fix empty schemes
This commit is contained in:
parent
10b88ba194
commit
10ab613f3b
1 changed files with 2 additions and 0 deletions
|
|
@ -1221,6 +1221,8 @@ App::setResource('hostnames', function (array $platforms) {
|
|||
return \array_unique($hostnames);
|
||||
}, ['platforms']);
|
||||
App::setResource('schemes', function (array $platforms, Document $project) {
|
||||
$schemes = [];
|
||||
|
||||
// Allow `appwrite-callback-${projectId}` scheme by default
|
||||
if (!empty($project) && $project->getId() !== 'console') {
|
||||
$schemes[] = 'exp';
|
||||
|
|
|
|||
Loading…
Reference in a new issue