mirror of
https://github.com/flarum/core.git
synced 2025-10-11 23:14:29 +02:00
Use reserved TLD for default dev hostname
See https://jdebp.eu/FGA/dns-use-domain-names-that-you-own.html.
This commit is contained in:
@@ -44,7 +44,7 @@ class FileDataProvider implements DataProviderInterface
|
||||
|
||||
// Define configuration variables
|
||||
$this->debug = $configuration['debug'] ?? false;
|
||||
$this->baseUrl = $configuration['baseUrl'] ?? 'http://flarum.local';
|
||||
$this->baseUrl = $configuration['baseUrl'] ?? 'http://flarum.localhost';
|
||||
$this->databaseConfiguration = $configuration['databaseConfiguration'] ?? [];
|
||||
$this->adminUser = $configuration['adminUser'] ?? [];
|
||||
$this->settings = $configuration['settings'] ?? [];
|
||||
|
@@ -69,7 +69,7 @@ class UserDataProvider implements DataProviderInterface
|
||||
|
||||
private function getBaseUrl(): BaseUrl
|
||||
{
|
||||
$baseUrl = $this->ask('Base URL (Default: http://flarum.local):', 'http://flarum.local');
|
||||
$baseUrl = $this->ask('Base URL (Default: http://flarum.localhost):', 'http://flarum.localhost');
|
||||
|
||||
return $this->baseUrl = BaseUrl::fromString($baseUrl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user