mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-23 06:27:25 +09:00
Fix bug
This commit is contained in:
parent
7d40c19cc6
commit
65de5ae1fb
@ -95,7 +95,7 @@ export default async (url: URL.Url, opts: Options): Promise<string> => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function proxy(url: string): string {
|
function proxy(url: string): string {
|
||||||
return `${opts.proxy}/${url}`;
|
return opts.proxy ? `${opts.proxy}/${url}` : url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user