chg: [app] Few improvements here and there
This commit is contained in:
parent
22ef4fa77e
commit
8e2cac27fa
3 changed files with 3 additions and 1 deletions
|
@ -103,5 +103,6 @@ async def remediateSetting(setting) ->dict:
|
||||||
if setting in misp_settings:
|
if setting in misp_settings:
|
||||||
payload = {
|
payload = {
|
||||||
'value': misp_settings[setting],
|
'value': misp_settings[setting],
|
||||||
|
'force': 1,
|
||||||
}
|
}
|
||||||
return await post(f'/servers/serverSettingsEdit/{setting}', payload)
|
return await post(f'/servers/serverSettingsEdit/{setting}', payload)
|
|
@ -320,6 +320,7 @@ async def forward_fake_zmq_to_socketio():
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
logger.error('Error handling message: %s', e)
|
logger.error('Error handling message: %s', e)
|
||||||
await sio.sleep(5)
|
await sio.sleep(5)
|
||||||
|
print('Feeding done.')
|
||||||
|
|
||||||
|
|
||||||
async def init_app():
|
async def init_app():
|
||||||
|
|
|
@ -198,7 +198,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form method="dialog" class="modal-backdrop">
|
<form method="dialog" class="modal-backdrop backdrop-blur">
|
||||||
<button>close</button>
|
<button>close</button>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
Loading…
Reference in a new issue