mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
allow updating domain dynamically
This commit is contained in:
@@ -39,6 +39,10 @@ function show_valet_404()
|
||||
'.'.$valetConfig['domain']
|
||||
);
|
||||
|
||||
if (strpos($siteName, 'www.') === 0) {
|
||||
$siteName = substr($siteName, 4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine the fully qualified path to the site.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user