moses toh
moses toh

Reputation: 13192

How to solve Cross-Origin Request Blocked?

When I access my application, in console exist error like this :

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://my.system.com/my-system/assets/global/plugins/font-awesome/fonts/fontawesome-webfont.woff2?v=4.4.0. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

Though I open on localhost

How to solve the problem?

Thank you

Upvotes: 0

Views: 1382

Answers (1)

Sing
Sing

Reputation: 4052

Add response header Access-Control-Allow-Origin : * on the server which host http://my.system.com/my-system/assets/global/plugins/font-awesome/fonts/fontawesome-webfont.woff2?v=4.4.0. will solve cross domain request issue.

Upvotes: 1

Related Questions