sinatra-cross_origin
sinatra-cross_origin copied to clipboard
[bugfix] register extension with sinatra
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