1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 01:00:09 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Chris Brown
998e4c32df Allow valet share to support multiple domains from same app
This PR allows passing a specific domain name to `valet share` in order to have the app be served for that domain.
Now how it works is this:
- (NEW) if a domain name is passed, it checks whether it matches a link (which would be required for multiple domains served by same app project), and uses that
- if a domain name is NOT passed, it looks up any links for current directory, and uses the first found link
- else falls back to current project foldername

It also still allows passing through custom ngrok parameters if desired (ref: #112), as either the 2nd parameter (no domain name passed) or (NEW) 3rd parameter

Fixes #537
2019-12-06 20:35:35 -05:00
Adam Wathan
13cf1a85e1 Remove Composer-less functionality from master branch 2016-08-08 15:07:48 -04:00
Taylor Otwell
fbe2fe6fac Tweaking a few things. 2016-05-11 15:22:20 -05:00
Taylor Otwell
acc06387ae various fixes 2016-05-11 13:15:19 -05:00
Taylor Otwell
a33e8732a7 call install on each update 2016-05-10 17:08:34 -05:00
Taylor Otwell
b22d3da81c fix replacement 2016-05-10 15:41:28 -05:00
Taylor Otwell
6345ee9503 move scripts 2016-05-10 15:06:29 -05:00