Replies: 1 comment
-
let getContentData=asBinary => fetch(url).then(res => {
if(res.ok){
return asBinary ? res.arrayBuffer() : res.text();
}else{
return Promise.reject(url);
}
}).then(data=>{
//decrypt
return newdata;
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to encrypt a remote vue file and then decrypt it on the front end?
Anyone have a better program? plz
Beta Was this translation helpful? Give feedback.
All reactions