mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
removed comments
This commit is contained in:
parent
74b06cdd96
commit
54c8a890d3
2 changed files with 0 additions and 11 deletions
|
|
@ -30,7 +30,6 @@ use Utopia\DSN\DSN;
|
||||||
use Utopia\Logger\Log;
|
use Utopia\Logger\Log;
|
||||||
use Utopia\System\System;
|
use Utopia\System\System;
|
||||||
use Utopia\Telemetry\Adapter\None as NoTelemetry;
|
use Utopia\Telemetry\Adapter\None as NoTelemetry;
|
||||||
use Utopia\Validator\Hostname;
|
|
||||||
use Utopia\WebSocket\Adapter;
|
use Utopia\WebSocket\Adapter;
|
||||||
use Utopia\WebSocket\Server;
|
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.
|
* Skip this check for non-web platforms which are not required to send an origin header.
|
||||||
*/
|
*/
|
||||||
$origin = $request->getOrigin();
|
$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', [])));
|
$originValidator = new Origin(array_merge($project->getAttribute('platforms', []), $console->getAttribute('platforms', [])));
|
||||||
|
|
||||||
if (!$originValidator->isValid($origin) && $project->getId() !== 'console') {
|
if (!$originValidator->isValid($origin) && $project->getId() !== 'console') {
|
||||||
|
|
|
||||||
|
|
@ -377,10 +377,6 @@ class Builds extends Action
|
||||||
payload: $build,
|
payload: $build,
|
||||||
project: $project
|
project: $project
|
||||||
);
|
);
|
||||||
|
|
||||||
var_dump($target);
|
|
||||||
|
|
||||||
|
|
||||||
Realtime::send(
|
Realtime::send(
|
||||||
projectId: 'console',
|
projectId: 'console',
|
||||||
payload: $build->getArrayCopy(),
|
payload: $build->getArrayCopy(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue