Site
- login now working (but not if refresh page - Starting singlepage Django - Added path
This commit is contained in:
@ -6,19 +6,15 @@
|
||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/30 13:50:35 by edbernar #+# #+# */
|
||||
/* Updated: 2024/08/25 02:21:47 by edbernar ### ########.fr */
|
||||
/* Updated: 2024/08/25 15:52:57 by edbernar ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
import { liveChat } from "/static/javascript/liveChat/main.js";
|
||||
import { login } from "/static/javascript/login/main.js";
|
||||
import { HomePage } from "/static/javascript/homePage/main.js"
|
||||
import * as Socket from '/static/javascript/websocket.js';
|
||||
import { Page } from '/static/javascript/Page.js';
|
||||
|
||||
let pageRenderer = null;
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
liveChat();
|
||||
login();
|
||||
HomePage.create();
|
||||
setTimeout(() => {
|
||||
HomePage.dispose();
|
||||
}, 3000);
|
||||
pageRenderer = new Page();
|
||||
});
|
||||
|
Reference in New Issue
Block a user