This commit is contained in:
Eriks K 2021-02-03 01:09:43 +02:00
parent c51337d249
commit e0b64e09b1

View File

@ -74,10 +74,10 @@ class ErepublikErrorHTTTPHandler(handlers.HTTPHandler):
def __init__(self, reporter: Reporter): def __init__(self, reporter: Reporter):
logging.Handler.__init__(self, level=logging.ERROR) logging.Handler.__init__(self, level=logging.ERROR)
self._reporter = weakref.ref(reporter) self._reporter = weakref.ref(reporter)
self.host = 'localhost:5000' self.host = 'erep.lv'
self.url = '/ebot/error/' self.url = '/ebot/error/'
self.method = 'POST' self.method = 'POST'
self.secure = False self.secure = True
self.credentials = (str(reporter.citizen_id), reporter.key) self.credentials = (str(reporter.citizen_id), reporter.key)
self.context = None self.context = None