feat: updates
This commit is contained in:
@@ -45,7 +45,7 @@ var main = () => {
|
||||
var parsedArgs = args.parseARGS(['noenc', 'removesourcefile']);
|
||||
|
||||
if ((parsedArgs.args.length != 1) && (parsedArgs.args.length != 3)) {
|
||||
println('osssendfile.js -- upload file to playsecurity.org');
|
||||
println('osssendfile.js -- upload file to play.hatter.me');
|
||||
println();
|
||||
println('osssendfile.js [--config config.json] list');
|
||||
println('osssendfile.js [--config config.json] clear');
|
||||
@@ -224,7 +224,7 @@ var main = () => {
|
||||
params.add(new KeyValue('encryption', tempKey.asBase64()));
|
||||
}
|
||||
}
|
||||
var res = $$.httpRequest().readTimeout(5 * 60 * 1000).url('https://playsecurity.org/doc/addDoc.jsonp').post(params);
|
||||
var res = $$.httpRequest().readTimeout(5 * 60 * 1000).url('https://play.hatter.me/doc/addDoc.jsonp').post(params);
|
||||
println('Add doc result: ' + res);
|
||||
|
||||
var resJSON = JSON.parse(res.toString());
|
||||
|
||||
Reference in New Issue
Block a user