removed comments

This commit is contained in:
shimon 2025-01-23 09:23:19 +02:00
parent 74b06cdd96
commit 54c8a890d3
2 changed files with 0 additions and 11 deletions

View file

@ -30,7 +30,6 @@ use Utopia\DSN\DSN;
use Utopia\Logger\Log;
use Utopia\System\System;
use Utopia\Telemetry\Adapter\None as NoTelemetry;
use Utopia\Validator\Hostname;
use Utopia\WebSocket\Adapter;
use Utopia\WebSocket\Server;
@ -534,12 +533,6 @@ $server->onOpen(function (int $connection, SwooleRequest $request) use ($server,
* Skip this check for non-web platforms which are not required to send an origin header.
*/
$origin = $request->getOrigin();
var_dump([
'_APP_CONSOLE_HOSTNAMES' => System::getEnv('_APP_CONSOLE_HOSTNAMES'),
'platforms '=> $console->getAttribute('platforms', [])
]);
$originValidator = new Origin(array_merge($project->getAttribute('platforms', []), $console->getAttribute('platforms', [])));
if (!$originValidator->isValid($origin) && $project->getId() !== 'console') {

View file

@ -377,10 +377,6 @@ class Builds extends Action
payload: $build,
project: $project
);
var_dump($target);
Realtime::send(
projectId: 'console',
payload: $build->getArrayCopy(),