Update server.py

This commit is contained in:
Nova Cat 2025-01-14 15:50:27 -08:00
parent ec547d1c59
commit 43804248bd

View file

@ -65,6 +65,7 @@ def relay():
binary = True
print(traceback.format_exc())
if binary:
print(gemcontent_binary)
return Response(bytes(gemcontent_binary), mimetype="text/gemini" if mimetype=="" else mimetype)
received = received.replace("\r", "")
firstline = True