summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-13 23:24:09 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-13 23:24:09 +0800
commit164b511f7285481002a85b7d6fe112cb0652f8d7 (patch)
tree5f56dc8ae9c5bdc8bfecc9a21cd028a8815a9b2a /libs
parent1e2c1d8eb91bb589c3b4bb04e8f0127b725a2ddb (diff)
downloadweb-164b511f7285481002a85b7d6fe112cb0652f8d7.tar.xz
Fix music lib.
Diffstat (limited to 'libs')
-rw-r--r--libs/music/player.d/main_static.js2
-rw-r--r--libs/music/player.d/playlists/.htaccess1
2 files changed, 2 insertions, 1 deletions
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