hotosm / underpass

A customizable data engine for processing mapping data
https://underpass.hotosm.org
GNU General Public License v3.0
29 stars 6 forks source link

Customizable CORS for Underpass REST API #454

Closed emi420 closed 6 months ago

emi420 commented 7 months ago

This should be customizable trough an environment variable:

origins = [
    "http://localhost",
    "http://localhost:5000",
    "http://localhost:3000",
    "http://127.0.0.1",
    "http://127.0.0.1:5000"
]