mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Fork expose
This commit is contained in:
@@ -12,7 +12,7 @@ use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
|
||||
abstract class ServerAwareCommand extends Command
|
||||
{
|
||||
const DEFAULT_HOSTNAME = 'sharedwithexpose.com';
|
||||
const DEFAULT_HOSTNAME = 'bitinflow.dev';
|
||||
const DEFAULT_PORT = 443;
|
||||
const DEFAULT_SERVER_ENDPOINT = 'https://expose.dev/api/servers';
|
||||
|
||||
@@ -45,7 +45,7 @@ abstract class ServerAwareCommand extends Command
|
||||
/**
|
||||
* Try to find the server in the servers array.
|
||||
* If no array exists at all (when upgrading from v1),
|
||||
* always return sharedwithexpose.com.
|
||||
* always return bitinflow.dev.
|
||||
*/
|
||||
if (config('expose.servers') === null) {
|
||||
return static::DEFAULT_HOSTNAME;
|
||||
@@ -70,7 +70,7 @@ abstract class ServerAwareCommand extends Command
|
||||
/**
|
||||
* Try to find the server in the servers array.
|
||||
* If no array exists at all (when upgrading from v1),
|
||||
* always return sharedwithexpose.com.
|
||||
* always return bitinflow.dev.
|
||||
*/
|
||||
if (config('expose.servers') === null) {
|
||||
return static::DEFAULT_PORT;
|
||||
|
||||
Reference in New Issue
Block a user