mirror of
https://github.com/markqvist/Sideband.git
synced 2026-04-27 14:20:38 +00:00
Fixed repo server not serving space-names
This commit is contained in:
parent
96aafe0ced
commit
d97795de9d
1 changed files with 1 additions and 2 deletions
|
|
@ -5110,8 +5110,7 @@ class SidebandCore():
|
|||
self.wfile.write(es.encode("utf-8"))
|
||||
else:
|
||||
try:
|
||||
with open(path, 'rb') as f:
|
||||
data = f.read()
|
||||
with open(path.replace("%20", " "), "rb") as f: data = f.read()
|
||||
self.send_response(200)
|
||||
if path.lower().endswith(".apk"):
|
||||
self.send_header("Content-type", "application/vnd.android.package-archive")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue