Create a service like metrics or requests to support `flask_cors` https://flask-cors.readthedocs.io/en/latest/ **How-to:** - Read the tutorial How to [create services](https://py-ms.readthedocs.io/en/latest/tutorial_create_services/) - Add new dependencies in [setup.py](https://github.com/python-microservices/pyms/blob/6b5bc4bf20725641a323a2f29c3a626c068a6e70/setup.py#L33) - Create the service - Initialize the Service in [create_app.Microservice.init_app](https://github.com/python-microservices/pyms/blob/6b5bc4bf20725641a323a2f29c3a626c068a6e70/pyms/flask/app/create_app.py#L168) **Challenge:** Try to pass the configuration from configuration file to CORS initialization ``` pyms: services: cors: resources: "/api/*": "origins": "*" ```
Create a service like metrics or requests to support
flask_corshttps://flask-cors.readthedocs.io/en/latest/How-to:
Challenge:
Try to pass the configuration from configuration file to CORS initialization