Spaces:
Configuration error
Configuration error
Download Host.js from sldshr/client_less_web: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/sldshr/client_less_web/resolve/main/Host.js
- Command line
-
hf download hf://spaces/sldshr/client_less_web/Host.js
-
curl -L -o Host.js https://huggingface.co/spaces/sldshr/client_less_web/resolve/main/Host.js
274 Bytes
| import { img } from 'https://unpkg.com/ez-html-elements' | |
| export default (host) => { | |
| return Object.freeze({ | |
| faviconHtml: () => | |
| img(['inline'], { | |
| src: `https://${host}/favicon.ico`, | |
| width: 48, | |
| height: 48, | |
| alt: host | |
| }) | |
| }) | |
| } | |