python-microservices / pyms

Library of utils to create REST Python Microservices
https://python-microservices.github.io/home/
GNU General Public License v3.0
263 stars 44 forks source link

Support for CORS #65

Open avara1986 opened 4 years ago

avara1986 commented 4 years ago

Create a service like metrics or requests to support flask_cors https://flask-cors.readthedocs.io/en/latest/

How-to:

Challenge: Try to pass the configuration from configuration file to CORS initialization

pyms:
  services:
    cors:
      resources:
       "/api/*": 
         "origins": "*"
nicosalu commented 3 years ago

Hey @avara1986 - I want to contribute. Can you please assign this issue to me?

avara1986 commented 3 years ago

Thank you @nicosalu ! ^^ Don't forget to register in https://hacktoberfest.digitalocean.com/ :+1:

TarunBounthiyal2 commented 8 months ago

Hi, do we have a solution for it.