Commit 6836dc74 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow selector ?nocache

parent 38e677e2
...@@ -16,7 +16,7 @@ class BackendHandler(BaseHTTPServer.BaseHTTPRequestHandler): ...@@ -16,7 +16,7 @@ class BackendHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.send_header('X-Content-Type-Options', 'nosniff') self.send_header('X-Content-Type-Options', 'nosniff')
self.send_header('Access-Control-Allow-Origin', self.server.CORS_ORIGIN) self.send_header('Access-Control-Allow-Origin', self.server.CORS_ORIGIN)
self.end_headers() self.end_headers()
if self.path == '/test': if self.path.startswith('/test'):
self.wfile.write(self.response) self.wfile.write(self.response)
else: else:
self.wfile.write('Hello!') self.wfile.write('Hello!')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment