Skip to content

Commit

Permalink
Fixed argument type for run_app in REST Connector
Browse files Browse the repository at this point in the history
  • Loading branch information
samson0v committed Jan 3, 2024
1 parent f93c50d commit 2cf1aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thingsboard_gateway/connectors/rest/rest_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __run_server(self):

self.load_handlers()
web.run_app(self._app, host=self.__config['host'], port=int(self.__config.get('port', 5000)),
handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=self.__config['host'],
handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=True,
access_log=self.__log)

def run(self):
Expand Down

0 comments on commit 2cf1aa9

Please sign in to comment.