2 Commits

Author SHA1 Message Date
89522c0536 Merge pull request 'merge docs' (#8) from dev into master
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-14 21:17:05 +02:00
4e66533cbc Update 'README.rst'
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-14 13:45:50 +02:00
2 changed files with 2 additions and 9 deletions

View File

@ -10,3 +10,4 @@ implemented interfaces / functionalities:
* log * log
* sync * sync
Produced by GoldenPogácsa Inc.

View File

@ -9,14 +9,6 @@ class SyncView(FlaskView):
def post(self): def post(self):
remote_uuid = request.json['uuid'] remote_uuid = request.json['uuid']
if 'ip' in request.json:
remote_ip = request.json['ip']
if request.remote_addr != remote_ip:
current_app.logger.debug(f"IP was overriden by the remote consumer {remote_ip} instead of {request.remote_addr}")
else:
remote_ip = request.remote_addr remote_ip = request.remote_addr
cust_key = f"consumer_{remote_uuid}" cust_key = f"consumer_{remote_uuid}"