Loading openflexure_microscope/api/app.py +1 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ def uri(suffix, api_version, base=None): app = Flask(__name__) app.url_map.strict_slashes = False CORS(app, resources=r"/api/*") CORS(app, resources=r"*") # Make errors more API friendly handler = JSONExceptionHandler(app) Loading Loading
openflexure_microscope/api/app.py +1 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ def uri(suffix, api_version, base=None): app = Flask(__name__) app.url_map.strict_slashes = False CORS(app, resources=r"/api/*") CORS(app, resources=r"*") # Make errors more API friendly handler = JSONExceptionHandler(app) Loading