mirror of https://gitlab.com/bashrc2/epicyon
Too much 404 scope
parent
5c80887e2d
commit
f3a90b3210
|
@ -953,13 +953,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
msg=msg.encode()
|
||||
self._set_headers('text/html',len(msg),cookie)
|
||||
self._write(msg)
|
||||
self.server.GETbusy=False
|
||||
return
|
||||
else:
|
||||
print("Test This isn't a blog post "+str(postJsonObject))
|
||||
self.server.GETbusy=False
|
||||
self._404()
|
||||
return
|
||||
self._404()
|
||||
return
|
||||
|
||||
# redirect music to #nowplaying list
|
||||
if self.path=='/music' or self.path=='/nowplaying':
|
||||
|
|
Loading…
Reference in New Issue