Skip to content

Commit d620fda

Browse files
authored
Add preview.app.github.dev to RAILS_DEVELOPMENT_HOSTS (#262)
1 parent 1602ecf commit d620fda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/universal/.devcontainer/local-features/setup-user/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"NPM_GLOBAL": "/home/codespace/.npm-global",
1818
"NVS_HOME": "/home/codespace/.nvs",
1919
"RVM_PATH": "/usr/local/rvm",
20-
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.app.github.dev",
20+
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.preview.app.github.dev,.app.github.dev",
2121
"GOROOT": "/usr/local/go",
2222
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
2323
"PATH": "/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:${PATH}"

src/universal/test-project/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ check "fish" fish --version
119119
check "zsh" zsh --version
120120

121121
# Check env variable
122-
check "RAILS_DEVELOPMENT_HOSTS is set correctly" echo $RAILS_DEVELOPMENT_HOSTS | grep ".githubpreview.dev,.app.github.dev"
122+
check "RAILS_DEVELOPMENT_HOSTS is set correctly" echo $RAILS_DEVELOPMENT_HOSTS | grep ".githubpreview.dev,.preview.app.github.dev,.app.github.dev"
123123

124124
# Check that we can run a puppeteer node app.
125125
yarn

0 commit comments

Comments
 (0)