diff options
author | Robin Windey <ro.windey@gmail.com> | 2023-03-31 06:40:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 13:53:05 +0000 |
commit | dfbd1fbe79fb8201257a6c52352042586100e41e (patch) | |
tree | c3460aa15b45bea38771bb8e282cf24645991c44 /.devcontainer/codespace.config.php | |
parent | a32e8db7031bbb3e183afdf8cabc9b16910dec86 (diff) | |
download | nextcloud-server-dfbd1fbe79fb8201257a6c52352042586100e41e.tar.gz nextcloud-server-dfbd1fbe79fb8201257a6c52352042586100e41e.zip |
Dedicated DevContainer user + NVM
* Use dedicated DevContainer user to run Apache (ensure file permissions)
* Install NVM for node
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.devcontainer/codespace.config.php')
-rw-r--r-- | .devcontainer/codespace.config.php | 6 |
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 ]; } |