const baseURL = 'http://localhost:9000/api/words/'export const getWords = () => { // BUG: CWE-319: Cleartext Transmission of Sensitive Information// return fetch(baseURL)// FIXED: .then(res => res.json()) } |
const baseURL = 'http://localhost:9000/api/words/'export const getWords = () => { // BUG: CWE-319: Cleartext Transmission of Sensitive Information// return fetch(baseURL)// FIXED: .then(res => res.json()) } |