diff options
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index be248b6..ed1e70e 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -32,7 +32,7 @@ module OpenTox use Rack::Cors do |config| config.allow do |allow| allow.origins '*' - allow.resource "/#{SERVICE}/", + allow.resource "/#{SERVICE}/*", :methods => [:head, :get, :post, :put, :delete, :options], :headers => :any, :max_age => 0 |