mirror of
https://github.com/Mibew/mibew-operator-status-plugin.git
synced 2025-01-22 10:00:30 +03:00
set Access-Control-Allow-Origin
This commit is contained in:
parent
f21308ee94
commit
02c3e71dd9
@ -51,6 +51,8 @@ class OperatorStatusController extends AbstractController
|
||||
$is_online = "true";
|
||||
}
|
||||
}
|
||||
return new Response($is_online);
|
||||
$response = new Response($is_online);
|
||||
$response->headers->set('Access-Control-Allow-Origin', '*');
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user