Update to work with Caddy server.

This commit is contained in:
Ralph Caraveo III committed 2015-06-14 21:17:35 -07:00
1 parent 1c9edb7dda
commit dc0a69b266
4 files changed
+13 -8

No files matched your search

+3 -3
View File
@@ -64,9 +64,9 @@ function set_file_prefix(file_url_prefixes)
// Ignore this call if we weren't given a file name.
if (file_url_prefixes == "") { return; };
// Construct the file paths.
// Ensure the subfolder below: karaoke/ has the cdg/mp3 media files
var audio_file_prefix = "karaoke/" + file_url_prefixes.split(":", 2)[0];
var cdg_file_prefix = "karaoke/" + file_url_prefixes.split(":", 2)[1];
// Ensure the subfolder below: media/ has the cdg/mp3 media files
var audio_file_prefix = "media/" + file_url_prefixes.split(":", 2)[0];
var cdg_file_prefix = "media/" + file_url_prefixes.split(":", 2)[1];
// Prepend the media files source directoy.
// file_url_prefix = "media/" + file_url_prefix;
// Stop, reset, and blank all the CD+G related stuff.