Skip to content

Commit

Permalink
⚰️ #1 Removed unusing feed folder and its traces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Balaji-Ganesh committed Jun 14, 2023
1 parent 9a29309 commit d5870ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
5 changes: 2 additions & 3 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
from .middleware.communication import esp32_comm, web_comm
socketio = SocketIO()


def create_app():
# App initialization..........
app = Flask(__name__, template_folder='templates')
app.config['SECRET_KEY'] = 'secret!'

""" ----------- Register blueprints -----------"""
from .web import web as main_blueprint # for displaying web-pages
from .feed import feed # for handling camera and ultra-sonic feed


# Initialize socketio
socketio.init_app(app=app, cors_allowed_origins="*")
# , logger=True, engineio_logger=True) # to run websockets for this flask app. A new server runs for this.

# Register blueprints..
app.register_blueprint(main_blueprint, url_prefix='/')
app.register_blueprint(feed, url_prefix='/feed')

return app

Expand Down
6 changes: 0 additions & 6 deletions app/feed/__init__.py

This file was deleted.

14 changes: 0 additions & 14 deletions app/feed/views.py

This file was deleted.

0 comments on commit d5870ef

Please sign in to comment.