Skip to content

Commit

Permalink
Invalidate cache for directory.json
Browse files Browse the repository at this point in the history
  • Loading branch information
guillevalin committed Jan 23, 2025
1 parent e0683d0 commit dee6498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/invalidate_cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ try {
const directory: DirectoryEntry[] = JSON.parse(directoryContent);

const files = directory.map(entry => entry.file);
files.push(`${Deno.env.get("DOWNLOAD_PREFIX")}/directory.json`);
console.log(`URLs to invalidate: ${JSON.stringify(files, null, 2)}`);

const response = await fetch(
Expand Down

0 comments on commit dee6498

Please sign in to comment.