Merge branch 'dashboard-modifications' into share-files

This commit is contained in:
Marcel Pociot committed 2021-05-19 11:57:25 +02:00
commit 96fa7c653f
8 files changed
+170 -114

No files matched your search

+2 -2
View File
@@ -140,7 +140,7 @@ class Factory
$this->router->post('/api/logs/{request_id}/data', AttachDataToLogController::class);
$this->router->get('/api/logs/clear', ClearLogsController::class);
$this->app->route('/socket', new WsServer(new Socket()), ['*']);
$this->app->route('/socket', new WsServer(new Socket()), ['*'], "");
foreach ($this->router->getRoutes()->all() as $name => $route) {
$this->app->routes->add($name, $route);
@@ -162,7 +162,7 @@ class Factory
config()->set('expose.dashboard_port', $dashboardPort);
$this->app = new App('127.0.0.1', $dashboardPort, '0.0.0.0', $this->loop);
$this->app = new App('0.0.0.0', $dashboardPort, '0.0.0.0', $this->loop);
$this->addRoutes();