Improve dev build

This commit is contained in:
2025-12-10 15:51:59 +01:00
parent 0bca3283fa
commit 2de88e272c
2 changed files with 6 additions and 1 deletions

View File

@@ -11,6 +11,11 @@ spring:
import: optional:file:.env[.properties] import: optional:file:.env[.properties]
application: application:
name: imgfloat name: imgfloat
devtools:
restart:
enabled: true
livereload:
enabled: true
servlet: servlet:
multipart: multipart:
max-file-size: 256MB max-file-size: 256MB

View File

@@ -210,7 +210,7 @@ function connect() {
}, (error) => { }, (error) => {
console.warn('WebSocket connection issue', error); console.warn('WebSocket connection issue', error);
if (typeof showToast === 'function') { if (typeof showToast === 'function') {
showToast('Live updates connection interrupted. Retrying may be necessary.', 'warning'); setTimeout(() => showToast('Live updates connection interrupted. Retrying may be necessary.', 'warning'), 1000);
} }
}); });
} }