Spaces:
Running
Running
Download admin/js/auth.js from Tataaicoltd/tools: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/Tataaicoltd/tools/resolve/main/admin/js/auth.js
- Command line
-
hf download hf://spaces/Tataaicoltd/tools/admin/js/auth.js
-
curl -L -o auth.js https://huggingface.co/spaces/Tataaicoltd/tools/resolve/main/admin/js/auth.js
228 Bytes
| (function () { | |
| const key = sessionStorage.getItem('admin_api_key'); | |
| if (!key) { | |
| const redirect = encodeURIComponent(location.href); | |
| window.location.replace('login.html?redirect=' + redirect); | |
| } | |
| })(); | |