diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-10 11:32:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-10 11:32:32 +0200 |
commit | 6eab82b9ef752e4a593d0d021eac9417468e1035 (patch) | |
tree | a3e39a0c5ac91cb1eeb85759ccec7c46aaa5b463 /index.pl | |
parent | 2cf85576e935e3667ce54c7d263105ec43cc8dec (diff) |
add CORS support
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -368,6 +368,7 @@ sub render_json { } } + $self->res->headers->access_control_allow_origin('*'); $self->render( json => { error => $errstr, |