mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-16 06:55:56 +00:00
Update changelog
This commit is contained in:
15
CHANGELOG.md
Normal file
15
CHANGELOG.md
Normal 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
|
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)) {
|
if (file_exists($valetConfigFile)) {
|
||||||
$valetConfig = json_decode(file_get_contents($valetConfigFile));
|
$valetConfig = json_decode(file_get_contents($valetConfigFile));
|
||||||
|
|||||||
Reference in New Issue
Block a user