Download next.js/test/e2e/instrumentation-hook/with-edge-api/pages/api/index.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 130 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/instrumentation-hook/with-edge-api/pages/api/index.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/instrumentation-hook/with-edge-api/pages/api/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/instrumentation-hook/with-edge-api/pages/api/index.ts
130 Bytes
| export default function handler() { | |
| return new Response('Hello from the edge!') | |
| } | |
| export const config = { | |
| runtime: 'edge', | |
| } | |