mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Improve dev build
This commit is contained in:
@@ -11,6 +11,11 @@ spring:
|
||||
import: optional:file:.env[.properties]
|
||||
application:
|
||||
name: imgfloat
|
||||
devtools:
|
||||
restart:
|
||||
enabled: true
|
||||
livereload:
|
||||
enabled: true
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 256MB
|
||||
|
||||
@@ -210,7 +210,7 @@ function connect() {
|
||||
}, (error) => {
|
||||
console.warn('WebSocket connection issue', error);
|
||||
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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user