Download tasks/linkedin/solution/site/implementation/clone/lib/app-url.ts from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/solution/site/implementation/clone/lib/app-url.ts
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/linkedin/solution/site/implementation/clone/lib/app-url.ts
-
curl -L -o app-url.ts https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/solution/site/implementation/clone/lib/app-url.ts
174 Bytes
| export function appUrl() { | |
| const configured = process.env.APP_URL ?? process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000"; | |
| return configured.replace(/\/+$/, ""); | |
| } | |