Image Tag Cors Issue
Unanswered
Abyssinian posted this in #help-forum
AbyssinianOP
He guys
I get this error when i use <img /> Tag but it works fine with next/image Does anyone know what the problem is?
i use nestjs for backend api and i have this app.enableCors({ origin: 'http://localhost:3000', credentials: true });
Also it works fine in reactjs and angular
GET http://localhost:4000/account/uploaded-image/posts/13a4317d5758664eccebf6a785906946-1696750356112-7a254d5f.png net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin 200 (OK)I get this error when i use <img /> Tag but it works fine with next/image Does anyone know what the problem is?
i use nestjs for backend api and i have this app.enableCors({ origin: 'http://localhost:3000', credentials: true });
Also it works fine in reactjs and angular