Merge pull request #3315 from freqtrade/flask_cors
Add cors support - needed for UI
This commit is contained in:
@@ -49,6 +49,7 @@ def client_get(client, url):
|
||||
def assert_response(response, expected_code=200):
|
||||
assert response.status_code == expected_code
|
||||
assert response.content_type == "application/json"
|
||||
assert ('Access-Control-Allow-Origin', '*') in response.headers._list
|
||||
|
||||
|
||||
def test_api_not_found(botclient):
|
||||
|
Reference in New Issue
Block a user