Download frontend/src/app/robots.js from ilhamdev/rembg: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/ilhamdev/rembg/resolve/main/frontend/src/app/robots.js
- Command line
-
hf download hf://spaces/ilhamdev/rembg/frontend/src/app/robots.js
-
curl -L -o robots.js https://huggingface.co/spaces/ilhamdev/rembg/resolve/main/frontend/src/app/robots.js
282 Bytes
| const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL || 'https://rembg.vercel.app').replace(/\/+$/, '') | |
| export default function robots() { | |
| return { | |
| rules: { | |
| userAgent: '*', | |
| allow: '/', | |
| disallow: ['/api/'], | |
| }, | |
| sitemap: `${SITE_URL}/sitemap.xml`, | |
| } | |
| } | |