feature(gRPC Client Update): Update Client to use DNS

This commit is contained in:
Devoalda 2023-10-31 10:41:36 +08:00
parent 4518a4eaf6
commit 777196355c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import dynamo_pb2_grpc as pb2_grpc
class Client:
def __init__(self):
self.channel = grpc.insecure_channel("localhost:50051")
self.channel = grpc.insecure_channel("http://safeshare-virus:50051")
self.stub = pb2_grpc.Dynamo_DBStub(self.channel)
def CheckFile(self, sha_256_id: str):