Upload files to "JS"

This commit is contained in:
2026-11-25 20:21:57 -06:00
parent f630b9fbb9
commit 30c4b8aed8
5 changed files with 5537 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
document.getElementById('roomPickerLogout').addEventListener('click',async()=>{try{const r=await fetch('/api/auth/logout',{method:'POST',credentials:'same-origin'});if(!r.ok)throw Error('Sign out failed');location.replace('/login');}catch(e){document.getElementById('roomPickerError').textContent=e.message;}});