|
|
@ -983,7 +983,7 @@ function shareResource() { |
|
|
|
} |
|
|
|
} |
|
|
|
let textcontent = globalMap0.getVar('Jy_gmParams').zip(JSON.stringify(text)); |
|
|
|
let textcontent = globalMap0.getVar('Jy_gmParams').zip(JSON.stringify(text)); |
|
|
|
try{ |
|
|
|
try{ |
|
|
|
log('1'); |
|
|
|
log("content="+textcontent+"&path="+it.path+"&auth_code="+it.token); |
|
|
|
let json = fetchPC('https://pasteme.tyrantg.com/api/update', { |
|
|
|
let json = fetchPC('https://pasteme.tyrantg.com/api/update', { |
|
|
|
"body": "content="+textcontent+"&path="+it.path+"&auth_code="+it.token, |
|
|
|
"body": "content="+textcontent+"&path="+it.path+"&auth_code="+it.token, |
|
|
|
"method": "POST" |
|
|
|
"method": "POST" |
|
|
|