Commit 451a485f authored by zwarag's avatar zwarag

adding CORS support

parent d6c6e19c
......@@ -6,10 +6,12 @@ from flask_restful import Resource, Api
from flask import Flask
from resources.nodes import Nodes
from resources.node import Node
from flask_cors import CORS
import json
import pprint
app = Flask(__name__)
CORS(app)
api = Api(app)
host = "localhost"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment