LocalHost by default in Debug mode

Image resolutions are now requested as width x height
Readded logout button to the settings page
This commit is contained in:
Michał Gdula 2023-03-20 17:04:05 +00:00
parent a6c06ae39c
commit e784ca3011
8 changed files with 92 additions and 94 deletions

View file

@ -35,7 +35,7 @@ function loadOnView() {
let image = lazyLoad[i];
if (image.getBoundingClientRect().top < window.innerHeight && image.getBoundingClientRect().bottom > 0) {
if (!image.src) {
image.src = `/api/file/${image.getAttribute('data-src')}?w=400&h=400`
image.src = `/api/file/${image.getAttribute('data-src')}?r=thumb`
}
}
}