Allowing google translate to serve ads.
This commit is contained in:
parent
9fed48a9a3
commit
61856561cc
@ -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