Add favicon route and minor cleanup
- Add /favicon.ico route (204) to avoid browser 404 - CSS formatting tweaks - Pipfile trailing newline Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -128,6 +128,11 @@ async def run_local():
|
|||||||
"""Serve the settings page."""
|
"""Serve the settings page."""
|
||||||
return send_file('src/templates/settings.html')
|
return send_file('src/templates/settings.html')
|
||||||
|
|
||||||
|
# Favicon: avoid 404 in browser console (no file needed)
|
||||||
|
@app.route('/favicon.ico')
|
||||||
|
def favicon(request):
|
||||||
|
return '', 204
|
||||||
|
|
||||||
# Static file route
|
# Static file route
|
||||||
@app.route("/static/<path:path>")
|
@app.route("/static/<path:path>")
|
||||||
def static_handler(request, path):
|
def static_handler(request, path):
|
||||||
|
|||||||
@@ -794,9 +794,7 @@ header h1 {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
}
|
} header h1 {
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
} /* On mobile, hide header buttons; all actions (including Tabs) are in the Menu dropdown */
|
} /* On mobile, hide header buttons; all actions (including Tabs) are in the Menu dropdown */
|
||||||
.header-actions {
|
.header-actions {
|
||||||
@@ -1047,9 +1045,7 @@ header h1 {
|
|||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}#settings-modal .modal-content > p.muted-text {
|
||||||
|
|
||||||
#settings-modal .modal-content > p.muted-text {
|
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}#settings-modal .settings-section.ap-settings-section {
|
}#settings-modal .settings-section.ap-settings-section {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user