Upload user shared sheets

This commit is contained in:
StageGuard committed 2020-07-24 20:24:46 +08:00
1 parent c006e2e65d
commit 97e5424964
11 files changed
+74 -2

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ sheetmgr = {
downloadAndLoad: function(file, listener) {
listener({status:1});
var remoteHost = "https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/shared_sheets/" + file;
var resp = http.get(remoteHost);
var resp = http.get(encodeURI(remoteHost));
if(resp.statusCode >= 200 && resp.statusCode < 300) {
var sheet = files.join(this.rootDir, files.getNameWithoutExtension(file) + (function(length) {
var string = "0123456789abcde";