Skip to content

Commit

Permalink
use fastly proxy (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes authored May 17, 2023
1 parent 667ef16 commit 3422c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const retryExceptionOr500 = retry(connectionClosedMsg, {
});

/**
* proxy.decocache.com does not vary with the vary header. For this, we must add a stable cache burst
* fastly.decocache.com does not vary with the vary header. For this, we must add a stable cache burst
* key to avoid sharing caches with the same cookies etc
*/
const toProxyCache = async (
Expand All @@ -36,7 +36,7 @@ const toProxyCache = async (
? new URL(input.url)
: input;

const proxyUrl = new URL(`https://proxy.decocache.com/${url.href}`);
const proxyUrl = new URL(`https://fastly.decocache.com/${url.href}`);

const buffer = await crypto.subtle.digest(
"SHA-1",
Expand Down

0 comments on commit 3422c73

Please sign in to comment.