From 5bc80cde7756dbb4c2c925749d29fb3e2de6596e Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sat, 30 Apr 2022 00:12:31 +0200 Subject: [PATCH] DEV: Allow Codespaces host when in Codespaces (#16595) --- .devcontainer/devcontainer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 03df9e5e9ee..cd486c6510b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -9,5 +9,8 @@ "postCreateCommand": "sudo /sbin/boot", "extensions": ["rebornix.Ruby"], "forwardPorts": [9292], - "remoteUser": "discourse" + "remoteUser": "discourse", + "remoteEnv": { + "DISCOURSE_DEV_HOSTS": ".githubpreview.dev" + } }