This commit is contained in:
2025-03-09 17:27:43 +01:00
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@@ -63,3 +63,4 @@ project_structure.txt
flask_session/ flask_session/
server.crt server.crt
server.key server.key
app.db

View File

@@ -73,7 +73,7 @@ def search_results():
""") """)
for s in streams: for s in streams:
key = s.get("username") key = s.get("title")
score = rank_results(query.lower(), key.lower()) score = rank_results(query.lower(), key.lower())
s["score"] = score s["score"] = score
if score < 2: if score < 2: