更新 'SrcJyPublic.js'

master
src48597962 4 months ago
parent 99124fef43
commit ec6cc459ab
  1. 1
      SrcJyPublic.js

@ -983,6 +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('content='+textcontent+'&path='+it.path+'&auth_code='+it.token);
let pasteupdate = JSON.parse(request('https://pasteme.tyrantg.com/api/update', { let pasteupdate = JSON.parse(request('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'

Loading…
Cancel
Save