diff --git a/src/index.ts b/src/index.ts index 3d829a0..686a170 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,9 +10,9 @@ const plugins: IPlugin[] = [ ]; export default async (url: string): Promise => { - const realUrl = await tracer(url); + const actualUrl = await tracer(url); - const _url = URL.parse(realUrl, true); + const _url = URL.parse(actualUrl, true); const plugin = plugins.filter(plugin => plugin.test(_url))[0];