Skip to content

Commit

Permalink
Fix ngrok parameter. (#622)
Browse files Browse the repository at this point in the history
`valet share` was throwing the error `ERROR:  unknown shorthand flag: 'o' in -ost-header=rewrite` when run.
  • Loading branch information
NSHenry authored Oct 12, 2023
1 parent 7aaa915 commit 55a3fb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to valet-plus will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.4.1]
### Fixed
- [#621] Fixed ngrok script

## [2.4.0](https://github.com/weprovide/valet-plus/compare/2.3.1...2.4.0)
### Fixed
- [#612] Fixed Bedrock driver
Expand Down
2 changes: 1 addition & 1 deletion valet
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ then

# Fetch Ngrok URL In Background...
bash "$DIR/cli/scripts/fetch-share-url.sh" &
sudo -u $(logname) "$DIR/bin/ngrok" http "$HOST.$DOMAIN:80" -host-header=rewrite ${*:2}
sudo -u $(logname) "$DIR/bin/ngrok" http "$HOST.$DOMAIN:80" --host-header=rewrite ${*:2}
exit

# Finally, for every other command we will just proxy into the PHP tool
Expand Down

0 comments on commit 55a3fb8

Please sign in to comment.