- Download
index.htmlfrom the repository. - Open it in a text editor.
- Find the configuration line near the top of the
<script>block. Before editing, it looks like this:
- Fill in your Render URL, e.g.
https://your-app.onrender.com(no trailing slash).
/api/verify) and gets a session token back, then uses that token for every chat/message request over Server-Sent Events. Firebase credentials only ever live on the backend, set in Deploy the Backend.
Deploy the frontend
You can host this single file anywhere:- Firebase Hosting (recommended):
firebase init→ Hosting → selectpublicdirectory → putindex.htmlthere →firebase deploy - GitHub Pages: enable Pages in your repo settings
- Netlify / Vercel: drag and drop the folder containing
index.html
Copyright © 2025–2026 Amit Dutta