Skip to content

Commit

Permalink
process-url: redirect a large video
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed Oct 3, 2023
1 parent 24e1dbe commit b0e0226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ createDownloader({

## Large video handling

A large video has been replaced into a much smaller trailer for faster download of the package, get it back from [the original link](https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4) or [here](https://github.com/website-local/assets/releases/download/mdn-local/big_buck_bunny_720p_surround.mp4);
A large video has been replaced into a much smaller alternative for faster download of the package, get it back from [the original link](https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4) or [here](https://github.com/website-local/assets/releases/download/mdn-local/big_buck_bunny_720p_surround.mp4);
4 changes: 2 additions & 2 deletions src/mdn/process-url/redirect-download-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {externalHosts} from './consts';
const replacements = [
// https://github.com/website-local/mdn-local/issues/938
'https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4',
// A much smaller file from http://download.blender.org/peach/trailer/trailer_iphone.m4v
'https://github.com/website-local/assets/releases/download/mdn-local/trailer_iphone.mp4',
// A much smaller file
'https://mdn.github.io/dom-examples/picture-in-picture/assets/bigbuckbunny.mp4',
];

export const redirectDownloadLink = (res: Resource): Resource => {
Expand Down

0 comments on commit b0e0226

Please sign in to comment.