diff options
author | Jochen Topf <jochen@topf.org> | 2012-12-04 09:39:11 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-12-04 09:39:11 +0100 |
commit | 0e57dcbe8a193b0d3355abc86b3d1c46cefbe2fd (patch) | |
tree | 22d94d303869cf435fa8f63842daf0631d85e6fc /web/taginfo.rb | |
parent | c0b0e6f6fa62efe549599ae289d5f3dafeeb4b5a (diff) | |
download | taginfo-0e57dcbe8a193b0d3355abc86b3d1c46cefbe2fd.tar taginfo-0e57dcbe8a193b0d3355abc86b3d1c46cefbe2fd.tar.gz |
Support for CORS
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-x | web/taginfo.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb index 7ce46be..27509f4 100755 --- a/web/taginfo.rb +++ b/web/taginfo.rb @@ -135,6 +135,7 @@ class Taginfo < Sinatra::Base before '/api/*' do content_type :json expires next_update + headers['Access-Control-Allow-Origin'] = '*' end #------------------------------------- |