Implemented HLS player (client-side), added scaffold for server-side HLS streamer
This commit is contained in:
@@ -2,6 +2,9 @@ import * as auth from '/web/js/api/auth.js';
|
||||
import ky from 'https://cdn.jsdelivr.net/npm/ky@1.14.1/+esm'
|
||||
|
||||
export async function ls(library, path) {
|
||||
//fix: remove double slashes from path
|
||||
path = path.replace("//", "/")
|
||||
|
||||
try {
|
||||
const response = await ky.get(`/libraries/${library}/${path}`, {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user