Skip to content

Commit

Permalink
feat: enable CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuspod committed Jan 11, 2023
1 parent cd86230 commit 1347462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from flask import Flask, jsonify, request
from flask_cors import CORS
import time
from grafana import get_for, get_partners_for

app = Flask(__name__)
CORS(app)

NETWORKS = ['eth', 'ftm', 'opt', 'arb']

Expand Down

0 comments on commit 1347462

Please sign in to comment.