# -*- coding: utf-8 -*-
from bottle import route,run,request,response,hook
import threading
import json
# import time

class KaraageDashThread(threading.Thread):
  def __init__(self):
    threading.Thread.__init__(self)

  def run(self):
    print("Test OK")

@hook('after_request')
def header_json():
  response.content_type = 'application/json'


def control_response_json(value):
  obj = {'control':value}
  return json.dumps(obj)

@route('/call')
def control_call():
  th = KaraageDashThread()
  th.start()
  return control_response_json("call")

run(host='192.168.10.123', port=10080, debug=True)

@@ -566,14 +566,13 @@
 168.
-10.123
+xx.xx
 ', p

change ip adress for public user