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

3
.gitignore vendored
View File

@@ -62,4 +62,5 @@ project_structure.txt
*.db *.db
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: