Download next.js/examples/cms-builder-io/next.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 545 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-builder-io/next.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-builder-io/next.config.js
-
curl -L -o next.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-builder-io/next.config.js
545 Bytes
| /** @type {import('next').NextConfig} */ | |
| module.exports = { | |
| images: { | |
| remotePatterns: [ | |
| { | |
| protocol: "https", | |
| hostname: "cdn.builder.io", | |
| port: "", | |
| pathname: "/my-account/**", | |
| }, | |
| ], | |
| }, | |
| async headers() { | |
| return [ | |
| { | |
| source: "/:path*", | |
| headers: [ | |
| { | |
| key: "Content-Security-Policy", | |
| value: | |
| "frame-ancestors https://*.builder.io https://builder.io http://localhost:1234", | |
| }, | |
| ], | |
| }, | |
| ]; | |
| }, | |
| }; | |