|
|
@@ -382,8 +382,8 @@ async def doCallback(entity, msg):
|
|
|
@app.before_first_request
|
|
|
async def initHttpClient():
|
|
|
app.config['HTTP_CLIENT'] = aiohttp.ClientSession(loop=main_loop,
|
|
|
- connector=aiohttp.TCPConnector(verify_ssl=False),
|
|
|
- resolver=AsyncResolver(nameservers=['192.168.171.10','1.1.1.1']))
|
|
|
+ connector=aiohttp.TCPConnector(verify_ssl=False,
|
|
|
+ resolver=AsyncResolver(nameservers=['192.168.171.10','1.1.1.1'])))
|
|
|
|
|
|
@app.route('/openapi.json')
|
|
|
async def openapi():
|