Spaces:
Sleeping
Sleeping
Download server.js from LUISGDUV/Sissy_Server: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/LUISGDUV/Sissy_Server/resolve/main/server.js
- Command line
-
hf download hf://spaces/LUISGDUV/Sissy_Server/server.js
-
curl -L -o server.js https://huggingface.co/spaces/LUISGDUV/Sissy_Server/resolve/main/server.js
389 Bytes
| const SERVER_CODE = process.env.CODE || ""; | |
| if (!SERVER_CODE && !SERVER_CODE2) { | |
| console.error("❌ [ERRO]: Secrets CODE e CODE2 ausentes."); | |
| process.exit(1); | |
| } | |
| console.log(SERVER_CODE ? "✅ CODE carregado" : "⚠️ CODE vazio"); | |
| try { | |
| if (SERVER_CODE) eval(SERVER_CODE); | |
| } catch (err) { | |
| console.error("❌ Falha ao executar:", err); | |
| process.exit(1); | |
| } |