Skip to content

🎥 Make videos programmatically with React

main page for bugs.remotion.dev

Jonny Burgerb9513c8894f2
diff --git a/packages/bugs/api/index.ts b/packages/bugs/api/index.ts
new file mode 100644
index 0000000000..0dcc78aae6
--- /dev/null
+++ b/packages/bugs/api/index.ts
@@ -0,0 +1,15 @@
+export default async function handler(request: Request) {
+ return new Response(
+ `<h1>Remotion Bugs</h1><p>Add a version to query bugs, e.g <a href="https://bugs.remotion.dev/v4.0.33"></a></p>`,
+ {
+ status: 200,
+ headers: {
+ "content-type": "text/html",
+ },
+ }
+ );
+}
+
+export const config = {
+ runtime: "edge",
+};
diff --git a/packages/bugs/vercel.json b/packages/bugs/vercel.json
index 34966b48da..a7da5e1364 100644
--- a/packages/bugs/vercel.json
+++ b/packages/bugs/vercel.json
@@ -3,6 +3,10 @@
{
"source": "/:path",
"destination": "/api/:path"
+ },
+ {
+ "source": "/",
+ "destination": "/api"
}
]
}