world map

This commit is contained in:
leca 2025-02-10 03:37:18 +00:00
parent ac17b5906e
commit 8a4f98c5fd
4 changed files with 13 additions and 4 deletions

View File

@ -64,6 +64,7 @@ canvas {
margin-top: 0%;
border: solid 2px gray;
box-shadow: 0px 20px 150px rgba(0, 0, 0, 1);
height:100%;
}
.action-tabs {
@ -134,3 +135,8 @@ canvas {
margin-left: 8px;
margin-right: 16px;
}
.map-container {
width: 100%;
height: 90%;
}

View File

@ -17,6 +17,9 @@ const authenticate = async (req, res, next) => {
next();
} catch(e) {
console.log(e)
req.session.destroy();
res.clearCookie("jwt");
return res.redirect("/login");
}
};

View File

@ -10,4 +10,4 @@ html
div(class="content-container")
div(class="map-container")
h1 Карта
p Пока что тут пусто, но скоро будет кое-что интересное!
iframe(src="/map" class="map-container")