You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function __construct($theme = null)
{
header("Access-Control-Allow-Origin: *");
$this->initializeQueryBuilder();
parent::__construct($theme);
}
I am not using any cors plugin.
I tested this multiple time and even verified with https://www.test-cors.org/
In Fact none of the CORS plugin on marketplace worked for me.
I suggest to test this and make it part of plugin if you feel its helping.
Note: Im testing this with my Angular 8 frontend web-app.
The text was updated successfully, but these errors were encountered:
@caothang53
any update on this? Plugin still does not work after latest update.
Same CORS error throw up.
adding above line makes it working.
It will be better if this is integrated with plugin.
For me plugin only works if I add :
in
BaseApiController.php
I am not using any cors plugin.
I tested this multiple time and even verified with https://www.test-cors.org/
In Fact none of the CORS plugin on marketplace worked for me.
I suggest to test this and make it part of plugin if you feel its helping.
Note: Im testing this with my Angular 8 frontend web-app.
The text was updated successfully, but these errors were encountered: