brunobritodev / awesome-github-stats

🚀 Show everyone how amazing you are! Stay motivated and display your total contributions and level on your GitHub profile README
https://awesome-github-stats.azurewebsites.net/
MIT License
209 stars 22 forks source link

CORS issue #32

Closed guylepage3 closed 1 year ago

guylepage3 commented 1 year ago

There seems to be a CORS issue with the .json end point. I am simply using the end point as a reference for my GitHub README.md Stats. https://github.com/guylepage3

From issue #27.

@brunobritodev, your end point seems to be causing some CORS issues. Is there a way to expose your endpoints to be raw .json data?

The new version #31 are allowing cors from any origin.

Originally posted by @brunobritodev in https://github.com/brunobritodev/awesome-github-stats/issues/27#issuecomment-1496911880

Here's a screencapture to show the issue

Screenshot 2023-04-05 at 5 28 21 AM
guylepage3 commented 1 year ago

My goal is to slow work towards creating an automated version of my stats for folks to use for their GItHub README.md's. https://github.com/guylepage3/guylepage3

brunobritodev commented 1 year ago

Hi @guylepage3 ,

The cors seems to be working now. It was a misconfiguration at Azure App Service.

image

guylepage3 commented 1 year ago

Thanks @brunobritodev