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()
|
msg=msg.encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.GETbusy=False
|
|
||||||
return
|
return
|
||||||
else:
|
self._404()
|
||||||
print("Test This isn't a blog post "+str(postJsonObject))
|
return
|
||||||
self.server.GETbusy=False
|
|
||||||
self._404()
|
|
||||||
return
|
|
||||||
|
|
||||||
# redirect music to #nowplaying list
|
# redirect music to #nowplaying list
|
||||||
if self.path=='/music' or self.path=='/nowplaying':
|
if self.path=='/music' or self.path=='/nowplaying':
|
||||||
|
|
Loading…
Reference in New Issue