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]
|
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
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user