MeLlamFox / app.js
howelltttmusic's picture
Create app.js
8a5dbe5 verified
Raw History Blame Contribute Delete
418 Bytes
// app.js - Your public configuration variables
const CLIENT_ID =448a8ed7-b70b-4660-9c3a-9588e7ff94f2;
const REDIRECT_URI = "http://127.0.0.1:8000";
function loginWithHuggingFace() {
const authUrl = `https://huggingface.co{CLIENT_ID}&redirect_uri=${encodeURIComponent(REDIRECT_URI)}&scope=openid%20profile`;
window.location.href = authUrl;
}
console.log("[H-bot Bridge] app.js initialized successfully.");