Skip to content

Commit

Permalink
remove unused hosts from setup scripts (#2937)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachughes authored Feb 6, 2025
1 parent ca7ff22 commit 896ed0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions localSetup/projects/certs/generate-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ CERTS_DIR=/etc/ssl/private
DOMAINS="\
DNS:localhost, \
DNS:${EDLIB_ROOT_DOMAIN:-edlib.test}, \
DNS:*.${EDLIB_ROOT_DOMAIN:-edlib.test}, \
DNS:npm.components.${EDLIB_ROOT_DOMAIN:-edlib.test} \
DNS:*.${EDLIB_ROOT_DOMAIN:-edlib.test} \
"

mkdir -p "$CA_DIR" "$CERTS_DIR"
Expand Down
4 changes: 0 additions & 4 deletions scripts/update-host-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@ set -eu
ip="127.0.0.1"
suffix="${EDLIB_ROOT_DOMAIN:-edlib.test}"
subdomains="
api
ca
docs
facade
hub
hub-vite-hmr
hub-ndla-legacy
hub-test
hub-test-ndla-legacy
mailpit
moodle
npm.components
nynorobot
www
"

hosts="$(cat /etc/hosts)"
Expand Down

0 comments on commit 896ed0d

Please sign in to comment.