major claude changes

This commit is contained in:
2026-01-28 21:55:10 -05:00
parent 3f311980db
commit 2dbd3ea53f
41 changed files with 1235 additions and 278 deletions

View File

@@ -1,14 +1,19 @@
import logging
from flask import jsonify, Response, url_for
from app import app
logger = logging.getLogger(__name__)
@app.route("/favicon.ico")
def favicon():
logger.info("GET /favicon.ico - Serving favicon")
return url_for('static', filename='data:,')
@app.route('/robots.txt')
@app.route('/sitemap.xml')
def static_from_root():
logger.info("GET /robots.txt or /sitemap.xml - Serving robots/sitemap")
def disallow(string): return 'Disallow: {0}'.format(string)
return Response("User-agent: *\n{0}\n".format("\n".join([
disallow('/bin/*'),
@@ -19,5 +24,5 @@ def static_from_root():
@app.route('/index', methods=['GET'])
@app.route('/', methods=['GET'])
def index():
logger.info("GET / or /index - API health check")
return jsonify({"success": "Api is online"}), 200