You can also consider using a Plack middleware:
https://metacpan.org/pod/Plack::Middleware::CrossOrigin
Cheers,
-- Dimi
On Fri, Jun 15, 2018 at 3:07 PM, David Dorward wrote:
> cOn 15 Jun 2018, at 13:54, Theo Bot wrote:
>
>> Can anybody tell me to to add an "Access-Control-Allow-Origin" in the
cOn 15 Jun 2018, at 13:54, Theo Bot wrote:
Can anybody tell me to to add an "Access-Control-Allow-Origin" in the
header:
I've tried "$c->response->header('Access-Control-Allow-Origin' =>
'*');
That's how you do it.
But I don't see it in the response
Is that line of code actually running
Hi
Can anybody tell me to to add an "Access-Control-Allow-Origin" in the
header:
I've tried "$c->response->header('Access-Control-Allow-Origin' => '*');
But I don't see it in the response
--
Kind regards
Theo Bot
___
List: