From 164b511f7285481002a85b7d6fe112cb0652f8d7 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 13 Feb 2019 23:24:09 +0800 Subject: Fix music lib. --- libs/music/player.d/main_static.js | 2 +- libs/music/player.d/playlists/.htaccess | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 libs/music/player.d/playlists/.htaccess (limited to 'libs') diff --git a/libs/music/player.d/main_static.js b/libs/music/player.d/main_static.js index 7a0e00c..9354375 100644 --- a/libs/music/player.d/main_static.js +++ b/libs/music/player.d/main_static.js @@ -234,7 +234,7 @@ NSUI={ const moi=this; let r=null; try{ - const resp=await fetch(new Request('/libs/music/player.d/playlists/playlists?${new Date().getTime()}')); + const resp=await fetch(new Request(`/libs/music/player.d/playlists/playlists?${new Date().getTime()}`)); r=await resp.text(); }catch(e){return;} let rarr=r.split('\n'); diff --git a/libs/music/player.d/playlists/.htaccess b/libs/music/player.d/playlists/.htaccess new file mode 100644 index 0000000..c562d35 --- /dev/null +++ b/libs/music/player.d/playlists/.htaccess @@ -0,0 +1 @@ +Options +FollowSymLinks -- cgit v1.2.3