From 74b67b536b50058b03948a6e5a8d2eac9e1e140c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Wed, 25 Apr 2018 11:23:12 +0200 Subject: [PATCH] Rename backed to api and remove flask_cors --- {backend => api}/.gitignore | 0 {backend => api}/app.py | 3 --- {backend => api}/db.py | 0 3 files changed, 3 deletions(-) rename {backend => api}/.gitignore (100%) rename {backend => api}/app.py (99%) rename {backend => api}/db.py (100%) diff --git a/backend/.gitignore b/api/.gitignore similarity index 100% rename from backend/.gitignore rename to api/.gitignore diff --git a/backend/app.py b/api/app.py similarity index 99% rename from backend/app.py rename to api/app.py index e60f95c..4f61f01 100644 --- a/backend/app.py +++ b/api/app.py @@ -1,5 +1,4 @@ import flask -import flask_cors import flask_login import flask_restful import flask_restful.fields @@ -21,8 +20,6 @@ login_manager.init_app(app) api = flask_restful.Api(app) -flask_cors.CORS(app) - quote_fields = { 'id': flask_restful.fields.Integer(), diff --git a/backend/db.py b/api/db.py similarity index 100% rename from backend/db.py rename to api/db.py