Hi,
i am facing an issue on production. Unable to access /meta.json endpoint..working fine on local.
getting this error: SyntaxError: Unexpected token < in JSON at position
Regards
Abdullah Saud
I am a programmer that loves webapp development and machine learning and I'm keen on learning more, so I work with start-ups whenever I get the chance!
Hi,
i am facing an issue on production. Unable to access /meta.json endpoint..working fine on local.
getting this error: SyntaxError: Unexpected token < in JSON at position
Regards
Abdullah Saud
I had the same issue, this change helped me
fetch('/meta.json',{
headers : {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
})
@abdullah727 Did you ever manage to get the "Unexpected token