summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 23ccef4..a2b814b 100644
--- a/index.pl
+++ b/index.pl
@@ -368,6 +368,7 @@ sub render_json {
}
}
+ $self->res->headers->access_control_allow_origin('*');
$self->render(
json => {
error => $errstr,