1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00

Update valet

This commit is contained in:
Dries Vints
2022-02-01 16:20:12 +01:00
committed by GitHub
parent 2491f8060e
commit 35c62b608e

4
valet
View File

@@ -78,9 +78,9 @@ then
# Fetch Ngrok URL In Background...
bash "$DIR/cli/scripts/fetch-share-url.sh" "$HOST" &
arch = $(uname -m)
ARCH=$(uname -m)
if [[ $arch == 'arm64' ]]; then
if [[ $ARCH == 'arm64' ]]; then
sudo -u "$USER" "$DIR/bin/ngrok-arm" http "$HOST.$TLD:$PORT" -host-header=rewrite $PARAMS
else
sudo -u "$USER" "$DIR/bin/ngrok" http "$HOST.$TLD:$PORT" -host-header=rewrite $PARAMS