mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-21 03:24:19 +08:00
11 lines
303 B
TypeScript
11 lines
303 B
TypeScript
import { Handlers } from "$fresh/server.ts";
|
|
|
|
export const handler: Handlers = {
|
|
GET(_req, _ctx) {
|
|
const data = { id: Deno.env.get("DENO_DEPLOYMENT_ID") };
|
|
return new Response(JSON.stringify(data), {
|
|
headers: { "Content-Type": "application/json" },
|
|
});
|
|
},
|
|
};
|