Commit f4dee973 authored by Peter-Bernd Otte's avatar Peter-Bernd Otte

more logs for mqttServer

parent 5412a91b
......@@ -70,6 +70,7 @@ logger.info ("MQTT Loop started.")
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
logger.debug("Path: "+self.path)
self.send_response(200)
self.send_header("Content-type", "text/json;charset=UTF-8")
self.send_header("Access-Control-Allow-Origin", "*")
......
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