From 853141dd0f83421cb3b254be93378718e0653bc0 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 21 Jun 2018 18:24:37 +0900 Subject: [PATCH] ing --- @overflow/infra/service/infra.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@overflow/infra/service/infra.service.ts b/@overflow/infra/service/infra.service.ts index f4d4508..fbf6dd5 100644 --- a/@overflow/infra/service/infra.service.ts +++ b/@overflow/infra/service/infra.service.ts @@ -4,7 +4,7 @@ import { RPCService } from '@loafer/ng-rpc'; import { Infra } from '@overflow/commons-typescript/model/infra'; import { Page, PageParams } from '@overflow/commons-typescript/core/model'; import { Host, Service } from '@overflow/commons-typescript'; -import { deflate } from 'pako'; +import { gzip } from 'pako'; @@ -28,7 +28,7 @@ export class InfraService { }; const json = JSON.stringify(discoverd); - const compressed = deflate(json, { to: 'string' }); + const compressed = gzip(json, { to: 'string' }); const base64 = btoa(compressed); return this.rpcService.call('InfraService.registDiscoverd', probeID, base64); }