From acec6cfb189507a61f5ea6a8fa86bb3f0839743b Mon Sep 17 00:00:00 2001 From: Min Yin Date: Sun, 29 Sep 2019 13:24:17 +0200 Subject: [PATCH] fix(web-server): add path to response (#3184) --- src/@ionic-native/plugins/web-server/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/web-server/index.ts b/src/@ionic-native/plugins/web-server/index.ts index 73b3e788a..fb52492ef 100644 --- a/src/@ionic-native/plugins/web-server/index.ts +++ b/src/@ionic-native/plugins/web-server/index.ts @@ -4,7 +4,8 @@ import { Observable } from 'rxjs'; export interface Response { status: number; - body: string; + body?: string; + path?: string; headers: { [key: string]: string}; }