Update filesystem structure

This commit is contained in:
Pixeldrain-Server committed 2023-04-11 23:44:50 +02:00
1 parent 9b451b37ea
commit 971a0fe539
8 files changed
+58 -48

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ onMount(() => {
<audio
bind:this={player}
class="player"
src={fs_get_file_url(state.bucket.id, state.base.path)}
src={fs_get_file_url(state.root.id, state.base.path)}
autoplay="autoplay"
controls="controls"
on:pause={() => playing = false }
+1 -1
View File
@@ -51,7 +51,7 @@ const mouseup = (e) => {
on:doubletap={() => {zoom = !zoom}}
on:mousedown={mousedown}
class="image" class:zoom
src={fs_get_file_url(state.bucket.id, state.base.path)}
src={fs_get_file_url(state.root.id, state.base.path)}
alt="no description available" />
</div>
+1 -1
View File
@@ -5,7 +5,7 @@ export let state
<iframe
class="container"
src={"/res/misc/pdf-viewer/web/viewer.html?file="+encodeURIComponent(fs_get_file_url(state.bucket.id, state.base.path))}
src={"/res/misc/pdf-viewer/web/viewer.html?file="+encodeURIComponent(fs_get_file_url(state.root.id, state.base.path))}
title="PDF viewer">
</iframe>
+1 -1
View File
@@ -38,7 +38,7 @@ onMount(() => {
<video
bind:this={player}
class="player"
src={fs_get_file_url(state.bucket.id, state.base.path)}
src={fs_get_file_url(state.root.id, state.base.path)}
autoplay="autoplay"
controls="controls"
on:ended={() => { dispatch("open_sibling", 1) }}>