diff --git a/backend/public/index.html b/backend/public/index.html
index 8147d0b..49269a2 100644
--- a/backend/public/index.html
+++ b/backend/public/index.html
@@ -783,7 +783,25 @@
window.location.href = hsUrl($('vUser').textContent, $('vPass').textContent);
});
+ // ===== Internet temporaria para pagar (abre o app do banco) =====
+ async function startFreeAccess() {
+ if (!mac) return;
+ try {
+ const res = await fetch('/api/access/start', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ mac }),
+ });
+ const d = await res.json();
+ if (d.ok) {
+ const mins = Math.round((d.seconds / 60) * 10) / 10;
+ toast('Internet liberada por ' + mins + ' min para pagar');
+ }
+ } catch { /* segue */ }
+ }
+
loadPlans();
+ startFreeAccess();