All Questions
Tagged with cross-origin-read-blocking express
5 questions
0
votes
1
answer
44
views
I get the error "cross origin request blocked" even tough i have the express cors package
My App code:
import express, {Express, Request, Response, Router} from 'express';
import dotenv from 'dotenv';
import ArtistRouter from './routes/artist_routes';
import infoRouter from './routes/...
4
votes
2
answers
1k
views
Cors options to get Gists
I tried to embed my gist with github script. I have a NodeJS ExpressJS app, create a static page and paste script tag that was generated by github.gist. And now i got an error:
my-website:35 Cross-...
2
votes
2
answers
14k
views
No 'Access-Control-Allow-Origin' header is present.. angular 7 and express
I am running a server with express at port 3000 and a client with angular 7 at port 4200. Once I make a request, I run into CORS issue.
Access to XMLHttpRequest at 'http://localhost:3000/drug' from ...
0
votes
1
answer
2k
views
nodejs cross-origin read blocking issue with image resources and canvas
I have a nodejs application were cors setup is done using cors package from expressjs.
My cors setup code is :
var whitelist = ['https://shajao.com', 'https://www.shajao.com'];
var corsOptions = {
...
0
votes
1
answer
958
views
Express lambda return JSON from api call
I have a serverless express app. In the app I have a app.get called '/', which should call an api, retrieve the data from the api and send it back to the user.
https://y31q4zn654.execute-api.eu-west-...