try to make swagger safer with send_file

This commit is contained in:
Oliver Gorwits
2020-04-19 11:22:28 +01:00
parent ed1cf3e2cd
commit da33478504
18 changed files with 6 additions and 9 deletions

View File

@@ -500,6 +500,7 @@ plugins:
main_api_module: 'App::Netdisco'
ui_url: '/swagger-ui'
show_ui: false
ui_dir: '/dev/null'
Auth::Extensible:
no_api_change_warning: true
no_default_pages: true

View File

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 738 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB