mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Revert ngrok arm binary (#1258)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -19,4 +19,3 @@ phpunit.xml.dist export-ignore
|
|||||||
UPGRADE.md export-ignore
|
UPGRADE.md export-ignore
|
||||||
|
|
||||||
/bin/ngrok -diff
|
/bin/ngrok -diff
|
||||||
/bin/ngrok-arm -diff
|
|
||||||
|
|||||||
BIN
bin/ngrok-arm
BIN
bin/ngrok-arm
Binary file not shown.
@@ -28,7 +28,6 @@ class Diagnose
|
|||||||
'curl --version',
|
'curl --version',
|
||||||
'php --ri curl',
|
'php --ri curl',
|
||||||
'~/.composer/vendor/laravel/valet/bin/ngrok version',
|
'~/.composer/vendor/laravel/valet/bin/ngrok version',
|
||||||
'~/.composer/vendor/laravel/valet/bin/ngrok-arm version',
|
|
||||||
'ls -al ~/.ngrok2',
|
'ls -al ~/.ngrok2',
|
||||||
'brew info nginx',
|
'brew info nginx',
|
||||||
'brew info php',
|
'brew info php',
|
||||||
|
|||||||
8
valet
8
valet
@@ -75,13 +75,7 @@ then
|
|||||||
# Fetch Ngrok URL In Background...
|
# Fetch Ngrok URL In Background...
|
||||||
bash "$DIR/cli/scripts/fetch-share-url.sh" "$HOST" &
|
bash "$DIR/cli/scripts/fetch-share-url.sh" "$HOST" &
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
sudo -u "$USER" "$DIR/bin/ngrok" http "$HOST.$TLD:$PORT" --host-header=rewrite $PARAMS
|
||||||
|
|
||||||
if [[ $ARCH == 'arm64' ]]; then
|
|
||||||
"$DIR/bin/ngrok-arm" http "$HOST.$TLD:$PORT" -host-header=rewrite $PARAMS
|
|
||||||
else
|
|
||||||
"$DIR/bin/ngrok" http "$HOST.$TLD:$PORT" -host-header=rewrite $PARAMS
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user