Skip to content

Commit

Permalink
fix http content in https error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayanamists committed Oct 3, 2023
1 parent 98b0f74 commit bcfbdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oh-my-old-tweet/src/Data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function getOnePage(config: CorsProxyConfig, cdxItem: string[]): Promise<
const timeStamp = cdxItem[1];
const origUrl = getCdxItemUrl(cdxItem);
const id = getCdxItemId(cdxItem);
const pageUrl = `http://web.archive.org/web/${timeStamp}/${origUrl}`;
const pageUrl = `https://web.archive.org/web/${timeStamp}/${origUrl}`;
return fetch(getUrl(config, pageUrl))
.then(res => {
if (!res.ok) {
Expand Down

0 comments on commit bcfbdc9

Please sign in to comment.