Update changelog

This commit is contained in:
Marcel Pociot committed 2020-06-18 10:17:13 +02:00
1 parent 78fbef90cd
commit 5df98c4b91
2 files changed
+16 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Changelog
## 1.1.0 (2020-06-18)
* Feature: Allow overriding the subdomain when using `expose` without specifying `expose share` explicitly
* Show badges in the local dashboard for 3xx response statuses
* Fix: Updated minimum PHP dependency
* Fix: Added support for detecting the Windows user home path
* Fix: Use minified VueJS versions
* Various spelling fixes
## 1.0.1 (2020-06-17)
* Fixes an issue when setting the auth token
## 1.0.0 (2020-06-17)
* Initial release
@@ -20,7 +20,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
protected function detectTld(): string
{
$valetConfigFile = $_SERVER['HOME'] ?? $_SERVER['USERPROFILE'].DIRECTORY_SEPARATOR.'.config'.DIRECTORY_SEPARATOR.'valet'.DIRECTORY_SEPARATOR.'config.json';
$valetConfigFile = ($_SERVER['HOME'] ?? $_SERVER['USERPROFILE']) .DIRECTORY_SEPARATOR.'.config'.DIRECTORY_SEPARATOR.'valet'.DIRECTORY_SEPARATOR.'config.json';
if (file_exists($valetConfigFile)) {
$valetConfig = json_decode(file_get_contents($valetConfigFile));