chore(query.php): give localhost access to query endpoint
This commit is contained in:
parent
22bf2b47c2
commit
6995306517
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ class QueryHandler extends BaseHandler
|
|||
|
||||
protected function ensureAllowedOrigin(): void
|
||||
{
|
||||
$allowedHosts = ['coryd.dev', 'www.coryd.dev'];
|
||||
$allowedHosts = ['coryd.dev', 'www.coryd.dev', 'localhost'];
|
||||
$origin = $_SERVER['HTTP_ORIGIN'] ?? '';
|
||||
$referer = $_SERVER['HTTP_REFERER'] ?? '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue