aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/codespace.config.php
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/codespace.config.php')
-rw-r--r--.devcontainer/codespace.config.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/.devcontainer/codespace.config.php b/.devcontainer/codespace.config.php
index c191698c256..3c525763540 100644
--- a/.devcontainer/codespace.config.php
+++ b/.devcontainer/codespace.config.php
@@ -14,7 +14,9 @@ $CONFIG = [
];
if(is_string($codespaceName) && !empty($codespaceName) && is_string($codespaceDomain) && !empty($codespaceDomain)) {
- $CONFIG['overwritehost'] = $codespaceName . '-80.' . $codespaceDomain;
+ $host = $codespaceName . '-80.' . $codespaceDomain;
+ $CONFIG['overwritehost'] = $host;
+ $CONFIG['overwrite.cli.url'] = 'https://' . $host;
$CONFIG['overwriteprotocol'] = 'https';
- $CONFIG['trusted_domains'] = [ $CONFIG['overwritehost'] ];
+ $CONFIG['trusted_domains'] = [ $host ];
}