Add : Front end

This commit is contained in:
Guillaume-Sanchez
2026-06-29 22:26:28 +02:00
parent 8897df5791
commit 9036f6228d
+8 -2
View File
@@ -93,8 +93,14 @@
<!-- LOGIQUE JAVASCRIPT -->
<!-- ======================================= -->
<script>
const API_BASE_URL = 'http://192.168.10.10:8000';
const WEBSOCKET_URL = 'ws://192.168.10.10:8000/ws/logs';
// Production URLs
const API_BASE_URL = 'https://cyberusgate.api.guillaume-sanchez.fr';
const WEBSOCKET_URL = 'ws://cyberusgate.api.guillaume-sanchez.fr/ws/logs';
// Dev URLs
// const API_BASE_URL = 'http://192.168.10.10:8000';
// const WEBSOCKET_URL = 'ws://192.168.10.10:8000/ws/logs';
cyberusgate.api
// --- Éléments du DOM ---
const userTableBody = document.getElementById('user-table-body');