-
-
Notifications
You must be signed in to change notification settings - Fork 486
Open
Description
Hi!
I use static files and fonts, there are no CORS errors with js and css.
The error is only on the fonts, what could be the problem?
Example settings:
app.use(
cors({
origin: ['https://myurl.com'],
methods: ['GET', 'POST', 'DELETE', 'UPDATE', 'PUT', 'PATCH', 'OPTIONS'],
allowedHeaders: ['Origin', 'X-Requested-With', 'Content-Type', 'Accept']
})
);
app.use(express.static('public'));
Metadata
Metadata
Assignees
Labels
No labels