SEO tweaks

This commit is contained in:
2025-11-20 23:43:02 -05:00
parent cf010974dd
commit 5305c34e3d
5 changed files with 183 additions and 3 deletions

View File

@@ -53,6 +53,18 @@ def index():
return render_template('index.html')
@app.route('/robots.txt')
def robots_txt():
"""Serve robots.txt file."""
return send_file('../web/static/robots.txt', mimetype='text/plain')
@app.route('/sitemap.xml')
def sitemap_xml():
"""Serve sitemap.xml file."""
return send_file('../web/static/sitemap.xml', mimetype='application/xml')
@app.route('/api/algorithms', methods=['GET'])
def get_algorithms():
"""Get list of available algorithms."""