Allowing google translate to serve ads.
This commit is contained in:
parent
5eb2df7372
commit
edfb476ed2
@ -13,6 +13,7 @@ sub next_ad {
|
||||
my $self = shift;
|
||||
my $ads_factory = BurguillosInfo::Ads->new;
|
||||
my $current_ad_number = $self->param('n');
|
||||
$self->res->headers->access_control_allow_origin('*');
|
||||
$self->render( json => $ads_factory->get_next($current_ad_number) );
|
||||
}
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user