mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
chore: ship the GitLab endpoint variables empty
System::getEnv is getenv($name) ?: $default, so a set-but-empty variable falls through to the https://gitlab.com default the config already carries. Shipping the value blank keeps the sample env and a generated install free of a URL that only self-hosted GitLab needs to change, matching the Gitea endpoint entry. The effective default moves into the descriptions.
This commit is contained in:
1 parent
1bae872974
commit
a38e90dcf4
2 files changed
+6
-6
No files matched your search
@@ -41,7 +41,7 @@ _APP_CONSOLE_GITHUB_APP_ID=
|
||||
_APP_CONSOLE_GITHUB_SECRET=
|
||||
_APP_CONSOLE_GITLAB_APP_ID=
|
||||
_APP_CONSOLE_GITLAB_SECRET=
|
||||
_APP_CONSOLE_GITLAB_ENDPOINT=https://gitlab.com
|
||||
_APP_CONSOLE_GITLAB_ENDPOINT=
|
||||
_APP_CONSOLE_BITBUCKET_APP_ID=
|
||||
_APP_CONSOLE_BITBUCKET_SECRET=
|
||||
_APP_CONSOLE_GOOGLE_APP_ID=
|
||||
@@ -182,7 +182,7 @@ _APP_VCS_GITEA_BROWSER_ENDPOINT=http://localhost:9515
|
||||
_APP_VCS_GITEA_CLIENT_ID=
|
||||
_APP_VCS_GITEA_CLIENT_SECRET=
|
||||
_APP_VCS_GITEA_WEBHOOK_SECRET=gitea-webhook-secret
|
||||
_APP_VCS_GITLAB_ENDPOINT=https://gitlab.com
|
||||
_APP_VCS_GITLAB_ENDPOINT=
|
||||
_APP_VCS_GITLAB_CLIENT_ID=
|
||||
_APP_VCS_GITLAB_CLIENT_SECRET=
|
||||
_APP_VCS_GITLAB_WEBHOOK_SECRET=
|
||||
|
||||
@@ -297,9 +297,9 @@ return [
|
||||
],
|
||||
[
|
||||
'name' => '_APP_CONSOLE_GITLAB_ENDPOINT',
|
||||
'description' => 'URL of the GitLab instance used for signing in to the Appwrite console, for self-hosted GitLab. This is separate from _APP_VCS_GITLAB_ENDPOINT, which powers repository integration rather than console sign-in.',
|
||||
'description' => 'URL of the GitLab instance used for signing in to the Appwrite console, for self-hosted GitLab. Defaults to https://gitlab.com when unset. This is separate from _APP_VCS_GITLAB_ENDPOINT, which powers repository integration rather than console sign-in.',
|
||||
'introduction' => '2.0.0',
|
||||
'default' => 'https://gitlab.com',
|
||||
'default' => '',
|
||||
'required' => false,
|
||||
'question' => '',
|
||||
'filter' => ''
|
||||
@@ -1583,9 +1583,9 @@ return [
|
||||
],
|
||||
[
|
||||
'name' => '_APP_VCS_GITLAB_ENDPOINT',
|
||||
'description' => 'URL of your self-hosted GitLab instance, reachable from the Appwrite server and the browser.',
|
||||
'description' => 'URL of your self-hosted GitLab instance, reachable from the Appwrite server and the browser. Defaults to https://gitlab.com when unset.',
|
||||
'introduction' => '2.0.0',
|
||||
'default' => 'https://gitlab.com',
|
||||
'default' => '',
|
||||
'required' => false,
|
||||
'question' => '',
|
||||
'filter' => ''
|
||||
|
||||
Reference in new issue
Block a user