diff --git a/milvus/grpc/BaseClient.ts b/milvus/grpc/BaseClient.ts index 337a6dd1..ff91990a 100644 --- a/milvus/grpc/BaseClient.ts +++ b/milvus/grpc/BaseClient.ts @@ -12,14 +12,8 @@ import { } from '../'; // path -const milvusProtoPath = path.resolve( - __dirname, - '../../proto/proto/milvus.proto' -); -const schemaProtoPath = path.resolve( - __dirname, - '../../proto/proto/schema.proto' -); +const milvusProtoPath = path.resolve('../../proto/proto/milvus.proto'); +const schemaProtoPath = path.resolve('../../proto/proto/schema.proto'); /** * Base gRPC client, setup all configuration here