mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
1199811809
commit
424f20bd90
2 files changed
+6
-11
No files matched your search
@@ -143,13 +143,7 @@ class Factory
|
||||
{
|
||||
$dashboardPort = $this->detectNextFreeDashboardPort();
|
||||
|
||||
$this->loop->futureTick(function () use ($dashboardPort) {
|
||||
$dashboardUrl = "http://127.0.0.1:{$dashboardPort}/";
|
||||
|
||||
echo("Started Dashboard on port {$dashboardPort}" . PHP_EOL);
|
||||
|
||||
echo('You can visit the dashboard at: ' . $dashboardUrl . PHP_EOL);
|
||||
});
|
||||
config()->set('expose.dashboard_port', $dashboardPort);
|
||||
|
||||
$this->app = new App('127.0.0.1', $dashboardPort, '0.0.0.0', $this->loop);
|
||||
|
||||
|
||||
Reference in new issue
Block a user