This commit is contained in:
cool.gitter.not.me.again.duh
2025-05-28 15:31:58 -06:00
parent e822284b88
commit ee261c28f4
13 changed files with 32 additions and 74 deletions

4
app.py
View File

@@ -131,7 +131,7 @@ def check_redis_connection():
return False
def create_app():
app = Flask(__name__)
app = Flask(__name__, template_folder='static/html')
# Set up CORS
CORS(app)
@@ -184,7 +184,7 @@ def create_app():
# Serve favicon.ico from the same directory as index.html (templates)
@app.route('/favicon.ico')
def serve_favicon():
return send_from_directory('templates', 'favicon.ico')
return send_from_directory('static/html', 'favicon.ico')
# Add request logging middleware
@app.before_request