aiot/tmp.ts

12 lines
No EOL
296 B
TypeScript

Bun.serve({
routes: {
"/test.mpd": async () => {
return new Response(Bun.file("tmp/fpwp4o.mpd"), {
headers: {
// cors allow all
"Access-Control-Allow-Origin": "*",
}
})
},
}
})