mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
pikvm/pikvm#1069: added option to disable auth on prometheus api
This commit is contained in:
@@ -397,6 +397,12 @@ def _get_config_scheme() -> dict:
|
||||
"enabled": Option(True, type=valid_bool),
|
||||
},
|
||||
|
||||
"prometheus": {
|
||||
"auth": {
|
||||
"enabled": Option(True, type=valid_bool),
|
||||
},
|
||||
},
|
||||
|
||||
"hid": {
|
||||
"type": Option("", type=valid_stripped_string_not_empty),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user