Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix local Swagger
Browse files Browse the repository at this point in the history
duffn committed May 5, 2024
1 parent 48276cf commit 8a8c3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ end

use OTR::ActiveRecord::ConnectionManagement

use SecureHeaders::Middleware
use SecureHeaders::Middleware if ENV['RACK_ENV'] == 'production'

use Rack::Static, urls: ['/public/swagger'] unless ENV['RACK_ENV'] == 'production'

0 comments on commit 8a8c3e2

Please sign in to comment.