How to use the js-base64.Base64.toBase64 function in js-base64

To help you get started, we’ve selected a few js-base64 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github t596502 / admin-blog-react / src / request / axios.js View on Github external
const _cecode = (token)=>{
    const encode = Base64.toBase64(token +':')
    return `Basic ${encode}`
};
export default instance