summaryrefslogtreecommitdiffstats
path: root/.devcontainer/codespace.config.php
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/codespace.config.php')
-rw-r--r--.devcontainer/codespace.config.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/.devcontainer/codespace.config.php b/.devcontainer/codespace.config.php
new file mode 100644
index 00000000000..9c1730b3c9c
--- /dev/null
+++ b/.devcontainer/codespace.config.php
@@ -0,0 +1,9 @@
+<?php
+
+$cloudEnvironmentId = getenv('CLOUDENV_ENVIRONMENT_ID');
+
+if($cloudEnvironmentId !== false) {
+ $CONFIG = array (
+ 'overwritehost' => $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com',
+ );
+}