Skip to content

🎥 Make videos programmatically with React

Update vercel.json

Jonny Burgerb0becc1c3a7e
diff --git a/vercel.json b/vercel.json
index 5df74a2b84..9a20d2cc70 100644
--- a/vercel.json
+++ b/vercel.json
@@ -14,46 +14,6 @@
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
- },
- {
- "source": "/bbb.webm",
- "permanent": false,
- "headers": [
- {
- "key": "Location",
- "value": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
- },
-
- {"key": "Access-Control-Allow-Credentials", "value": "true"},
- {"key": "Access-Control-Allow-Origin", "value": "*"},
- {
- "key": "Access-Control-Allow-Methods",
- "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"
- },
- {
- "key": "Access-Control-Allow-Headers",
- "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
- }
- ]
- },
- {
- "source": "/bbb.mp4",
- "headers": [
- {
- "key": "Location",
- "value": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
- },
- {"key": "Access-Control-Allow-Credentials", "value": "true"},
- {"key": "Access-Control-Allow-Origin", "value": "*"},
- {
- "key": "Access-Control-Allow-Methods",
- "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"
- },
- {
- "key": "Access-Control-Allow-Headers",
- "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
- }
- ]
}
],
"redirects": [
@@ -366,6 +326,16 @@
"source": "/docs/miscellaneous/snippets/adding-animations",
"destination": "/docs/animation-math",
"permanent": false
+ },
+ {
+ "source": "/bbb.webm",
+ "destination": "https://upload.wikimedia.org/wikipedia/commons/transcoded/c/c0/Big_Buck_Bunny_4K.webm/Big_Buck_Bunny_4K.webm.720p.vp9.webm",
+ "permanent": false
+ },
+ {
+ "source": "/bbb.mp4",
+ "destination": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
+ "permanent": false
}
]
}