sinatra-cross_origin icon indicating copy to clipboard operation
sinatra-cross_origin copied to clipboard

[bugfix] register extension with sinatra

Open edoput opened this issue 7 years ago • 0 comments

The extension was not registering itself with the framework and was not working as expected. Using the configure block alone now will work for most of the required settings

#config.ru

configure do
  enable :cross_origin
end

edoput avatar May 24 '18 09:05 edoput