sameerkumar18 / geek-joke-api

Random Geek Jokes REST API

Home Page:https://geek-jokes.sameerkumar.website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No 'Access-Control-Allow-Origin'

b-mi opened this issue · comments

Failed to load https://geek-jokes.sameerkumar.website/api: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.


Angular 6
HttpClient
default HttpGet
Other api-s work

Can you try again? Did some modifications allowing CORS...

It work now.
Another issue, there are too many jokes about Chuck Norris.

Known! Feel free to add new jokes :)