Spaces:
Running
Running
Download frontend/src/app/robots.ts from TwanAPI/UploadFile: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/TwanAPI/UploadFile/resolve/main/frontend/src/app/robots.ts
- Command line
-
hf download hf://spaces/TwanAPI/UploadFile/frontend/src/app/robots.ts
-
curl -L -o robots.ts https://huggingface.co/spaces/TwanAPI/UploadFile/resolve/main/frontend/src/app/robots.ts
334 Bytes
| import { MetadataRoute } from "next"; | |
| export default function robots(): MetadataRoute.Robots { | |
| return { | |
| rules: { | |
| userAgent: "*", | |
| allow: ["/", "/login", "/register", "/developers", "/explorer", "/dashboard"], | |
| disallow: ["/api/admin/", "/admin"], | |
| }, | |
| sitemap: "http://localhost:3000/sitemap.xml", | |
| }; | |
| } | |