mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-10 16:17:23 +09:00
Refacotr: Better variable name
This commit is contained in:
parent
25d9232ee2
commit
0953db5826
@ -10,9 +10,9 @@ const plugins: IPlugin[] = [
|
||||
];
|
||||
|
||||
export default async (url: string): Promise<ISummary> => {
|
||||
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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user