- Add button for logout
    - somes change for websocket
    - back to login page when account created successfully
This commit is contained in:
Kum1ta
2024-09-12 18:23:40 +02:00
parent 90b9e7bc91
commit 5927c36e54
6 changed files with 116 additions and 76 deletions

View File

@ -6,17 +6,18 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 13:50:35 by edbernar #+# #+# */
/* Updated: 2024/08/25 19:09:02 by edbernar ### ########.fr */
/* Updated: 2024/09/12 17:59:23 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
import * as Socket from '/static/javascript/websocket.js';
import { launchSocket } from '/static/javascript/websocket.js';
import { Page } from '/static/javascript/Page.js';
let pageRenderer = null;
document.addEventListener('DOMContentLoaded', () => {
pageRenderer = new Page();
launchSocket();
});
export { pageRenderer };