Plugin Directory

Changeset 2831446


Ignore:
Timestamp:
12/10/2022 05:50:28 AM (3 years ago)
Author:
enzipeapps
Message:

change error in js file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • reescribir-textos/trunk/lib/js/reescribirtextos-script.js

    r2831440 r2831446  
    1717    method: "POST",
    1818    mode: "cors",
    19    
     19    cache: "no-cache",
    2020    credentials: "same-origin",
    2121    headers: {
    2222      "Content-Type": "application/json",
    23       'Access-Control-Max-Age': 86400,
    24             Authorization: "Bearer " + auth.pin,
     23      Authorization: "Bearer " + auth.pin,
    2524    },
    2625    redirect: "follow",
     
    8382      })
    8483      .catch((error) => {
    85         alert(error);
    86         console.log(error);
     84        showError("Your Auth key is invalid. Please click <a href='https://www.reescribirtextos.net/' target='_blank'>here</a> to get new Auth key");
     85
    8786      });
    8887  });
Note: See TracChangeset for help on using the changeset viewer.