Remove the need to provide a bucket ID to each API call

This commit is contained in:
2023-05-30 15:51:10 +02:00
parent 2647a22c91
commit 0299b730a5
23 changed files with 95 additions and 96 deletions

View File

@@ -1,6 +1,6 @@
<script>
import { createEventDispatcher, onMount } from 'svelte'
import { fs_file_url } from "../FilesystemUtil.js";
import { fs_path_url } from '../FilesystemUtil';
let dispatch = createEventDispatcher()
export let state
@@ -53,7 +53,7 @@ onMount(() => {
<audio
bind:this={player}
class="player"
src={fs_file_url(state.root.id, state.base.path)}
src={fs_path_url(state.base.path)}
autoplay="autoplay"
controls="controls"
on:pause={() => playing = false }