Skip to content

Commit

Permalink
fix: add www.khanacademy.dev to hosts file; remove wildcard
Browse files Browse the repository at this point in the history
wildcards arent allowed in hosts file, so just removing that

Ref: https://www.man7.org/linux/man-pages/man5/hosts.5.html
  • Loading branch information
Zaq? Wiedmann committed Jul 24, 2024
1 parent b9b2322 commit 3faeeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/edit-system-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ fi

if ! grep -q khanacademy.dev /etc/hosts; then
echo "Adding khanacademy.dev to /etc/hosts"
echo "127.0.0.1 storage.khanacademy.dev khanacademy.dev *.khanacademy.dev" | \
echo "127.0.0.1 storage.khanacademy.dev khanacademy.dev www.khanacademy.dev" | \
sudo tee -a /etc/hosts
fi

0 comments on commit 3faeeb0

Please sign in to comment.