Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Sep 12, 2016
1 parent 7d40c19 commit 65de5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/general/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 65de5ae

Please sign in to comment.