This commit is contained in:
syuilo 2016-09-13 05:59:55 +09:00
parent 7d40c19cc6
commit 65de5ae1fb

View File

@ -95,7 +95,7 @@ export default async (url: URL.Url, opts: Options): Promise<string> => {
});
function proxy(url: string): string {
return `${opts.proxy}/${url}`;
return opts.proxy ? `${opts.proxy}/${url}` : url;
}
}