Download next.js/test/integration/api-support/pages/api/external-resolver.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/external-resolver.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/api-support/pages/api/external-resolver.js
-
curl -L -o external-resolver.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/external-resolver.js
160 Bytes
| export default (_req, res) => { | |
| setTimeout(() => { | |
| res.send('hello world') | |
| }, 0) | |
| } | |
| export const config = { | |
| api: { | |
| externalResolver: true, | |
| }, | |
| } | |