mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Merge branch 'openapi/master' into openapi/merge
This commit is contained in:
@@ -8,7 +8,7 @@ module Rswag
|
||||
end
|
||||
|
||||
def call(env)
|
||||
if base_path?(env)
|
||||
if base_path?(env)
|
||||
redirect_uri = env['SCRIPT_NAME'].chomp('/') + '/index.html'
|
||||
return [ 301, { 'Location' => redirect_uri }, [ ] ]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user