Add `_APP_CONSOLE_HOSTNAMES` env var to allow more hostnames to the console project by stnguyen90 · Pull Request #7377 · appwrite/appwrite · GitHub
Skip to content

Add _APP_CONSOLE_HOSTNAMES env var to allow more hostnames to the console project - #7377

Merged
TorstenDittmann merged 2 commits into
refactor-usage-snfrom
feat-console-hostnames-on-refactor-usage-sn
Jan 3, 2024
Merged

TorstenDittmann merged 2 commits into
refactor-usage-snfrom
feat-console-hostnames-on-refactor-usage-sn

Conversation

@stnguyen90

Copy link
Copy Markdown
Contributor

What does this PR do?

  • adds _APP_CONSOLE_HOSTNAMES environment variable to allow more hostnames to the console project

Test Plan

  • manual

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 changed the title Feat console hostnames on refactor usage sn Add _APP_CONSOLE_HOSTNAMES env var to allow more hostnames to the console project Jan 2, 2024
@TorstenDittmann
TorstenDittmann merged commit 127aa3c into refactor-usage-sn Jan 3, 2024
@TorstenDittmann
TorstenDittmann deleted the feat-console-hostnames-on-refactor-usage-sn branch January 3, 2024 16:24
Comment thread app/init.php
Comment on lines +930 to +931

@stnguyen90 stnguyen90 Jan 3, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm if App::getEnv('_APP_CONSOLE_HOSTNAMES', '') and an empty string, $hostnames will be an array with 1 empty string.

image

That shouldn't be added as a platform, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhh, one of those weird PHP things. We should fix it before releasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants