Files
iblogs/src/Frontend/Action/CreateLogAction.php
Sam Kintop bf3870ccca
Some checks failed
Publish Docker Image / build-and-push (push) Failing after 2m13s
all
2026-04-30 09:44:02 -05:00

21 lines
434 B
PHP

<?php
namespace Aternos\Mclogs\Frontend\Action;
use Aternos\Mclogs\Util\URL;
class CreateLogAction extends \Aternos\Mclogs\Api\Action\CreateLogAction
{
protected bool $includeCookie = true;
protected bool $includeToken = false;
protected function getAllowedOrigin(): string
{
return URL::getBase()->toString();
}
protected function shouldAllowCredentials(): bool
{
return true;
}
}