This commit is contained in:
syuilo 2017-02-04 15:32:24 +09:00
parent 08715a5e3c
commit e05f849c18
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
unreleased
------------------
* Add `url` property to result #15
1.5.0 / 2017-01-31 1.5.0 / 2017-01-31
------------------ ------------------
* Improve: Check favicon exist #7 * Improve: Check favicon exist #7

View File

@ -45,5 +45,7 @@ export default async (url: string): Promise<ISummary> => {
} }
}); });
return summary; return Object.assign(summary, {
url: actualUrl
});
}; };

View File

@ -4,6 +4,7 @@ interface ISummary {
description: string; description: string;
thumbnail: string; thumbnail: string;
sitename: string; sitename: string;
url: string;
} }
export default ISummary; export default ISummary;