Hi everyone,
Back again with a small issue here.
My sub domains are working good, for example :
Already tried to do a valet park in the Sites folder and ... nothing.
Tried also to restart all brew services and ... nothing.
If someone have the answer ... !
Thanks everyone ! And have a good Sunday.
i cannot reach my /Users/anthony/Sites/ folder by typing "localhost" in my browser.
I'm assuming that 'by typing "localhost" in my browser' you're expecting it to display a list of subdirectories from your Sites folder?
That's not a feature of Valet.
But you could add it yourself using something like was proposed here:
https://github.com/laravel/valet/issues/610#issuecomment-417112280
Alternatively, if you want a "default" site which Valet will open (as a site, not as a list of folders) when you hit localhost, you can add that site's directory to an (undocumented I think) default key in your ~/.config/valet/config.json. (Again, this is a site, not a list of folders):
{
"paths": [
"/Users/me/.config/valet/Sites",
"/Users/me/Sites"
],
"default": "/Users/me/Sites/home/app",
"tld": "test"
}
Thanks doctor ! 馃憤
Most helpful comment
I'm assuming that 'by typing "localhost" in my browser' you're expecting it to display a list of subdirectories from your Sites folder?
That's not a feature of Valet.
But you could add it yourself using something like was proposed here:
https://github.com/laravel/valet/issues/610#issuecomment-417112280
Alternatively, if you want a "default" site which Valet will open (as a site, not as a list of folders) when you hit localhost, you can add that site's directory to an (undocumented I think)
defaultkey in your~/.config/valet/config.json. (Again, this is a site, not a list of folders):