-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Support natively Laravel vite TLS #395
Comments
For sure this workaround is very anoying, and I can't imagine this being a good solution ;) The symlink could be an easy and quick (and dirty !) solution, but I'm not a big fan of symlinks : Changing valet's configuration should be easy enough. Just a warning about this : before changing it, on valet's upgrade , we must make sure that we will also copy the conf to the new location ! |
The workaround you suggested of creating a symbolic link could work, as it would make Laravel Vite find the certificates in the correct folder. However, this may not be the most elegant solution and could potentially cause issues if other applications depend on the ~/.config/valet/Certificates/ path. A better solution would be to modify the Laravel Vite configuration to allow for both paths. You could submit a pull request to the Laravel Vite repository on GitHub to add this functionality, or you could modify your own local copy of the Laravel Vite code. Another option, as you mentioned, would be to specify the path to the certificates in each project's configuration. This would allow you to use the correct path for each project, but would require more setup for each individual project. |
That would be great. Workaround with symlink indeed works, many thanks for that. I swapped from macOS to Linux and this was last part I needed to make it work! |
The current version (2.2.36) does not support natively Laravel Vite TLS.
~/.config/valet/Certificates/
and this path is hardcoded~/.valet/Certificates/
and this path is hardcodedIn order to make this works, I see two possibilities or two workaround:
Workaround: Make a symlink 😊
Edit:
An another workaround would be to use a bunch of configuration on each projects
The text was updated successfully, but these errors were encountered: