6967: Move source_version detection code from config yaml to lib/app_version.rb.
[arvados.git] / services / api / config / initializers / authorization.rb
1 Server::Application.configure do
2   config.middleware.delete ActionDispatch::RemoteIp
3   config.middleware.insert 0, ActionDispatch::RemoteIp
4   config.middleware.insert 1, ArvadosApiToken
5 end