chg: [app] Few improvements here and there

This commit is contained in:
Sami Mokaddem 2024-07-16 12:04:36 +02:00
parent 22ef4fa77e
commit 8e2cac27fa
3 changed files with 3 additions and 1 deletions

View file

@ -103,5 +103,6 @@ async def remediateSetting(setting) ->dict:
if setting in misp_settings:
payload = {
'value': misp_settings[setting],
'force': 1,
}
return await post(f'/servers/serverSettingsEdit/{setting}', payload)

View file

@ -320,6 +320,7 @@ async def forward_fake_zmq_to_socketio():
print(traceback.format_exc())
logger.error('Error handling message: %s', e)
await sio.sleep(5)
print('Feeding done.')
async def init_app():

View file

@ -198,7 +198,7 @@
</div>
</div>
<form method="dialog" class="modal-backdrop">
<form method="dialog" class="modal-backdrop backdrop-blur">
<button>close</button>
</form>
</dialog>