world map
This commit is contained in:
		@@ -64,6 +64,7 @@ canvas {
 | 
				
			|||||||
    margin-top: 0%;
 | 
					    margin-top: 0%;
 | 
				
			||||||
    border: solid 2px gray;
 | 
					    border: solid 2px gray;
 | 
				
			||||||
    box-shadow: 0px 20px 150px rgba(0, 0, 0, 1);
 | 
					    box-shadow: 0px 20px 150px rgba(0, 0, 0, 1);
 | 
				
			||||||
 | 
					    height:100%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.action-tabs {
 | 
					.action-tabs {
 | 
				
			||||||
@@ -133,4 +134,9 @@ canvas {
 | 
				
			|||||||
    margin-bottom: 8px;
 | 
					    margin-bottom: 8px;
 | 
				
			||||||
    margin-left: 8px;
 | 
					    margin-left: 8px;
 | 
				
			||||||
    margin-right: 16px;
 | 
					    margin-right: 16px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.map-container {
 | 
				
			||||||
 | 
						width: 100%;
 | 
				
			||||||
 | 
						height: 90%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -112,4 +112,4 @@ const startChat = async () => {
 | 
				
			|||||||
    })
 | 
					    })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default startChat;
 | 
					export default startChat;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,6 +17,9 @@ const authenticate = async (req, res, next) => {
 | 
				
			|||||||
        next();
 | 
					        next();
 | 
				
			||||||
    } catch(e) {
 | 
					    } catch(e) {
 | 
				
			||||||
        console.log(e)
 | 
					        console.log(e)
 | 
				
			||||||
 | 
						req.session.destroy();
 | 
				
			||||||
 | 
					        res.clearCookie("jwt");
 | 
				
			||||||
 | 
					        return res.redirect("/login");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -44,4 +47,4 @@ const canHaveCloak = async (req, res, next) => {
 | 
				
			|||||||
    next();
 | 
					    next();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {authenticate, validateInviteToken, canHaveCloak};
 | 
					export default {authenticate, validateInviteToken, canHaveCloak};
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,4 +10,4 @@ html
 | 
				
			|||||||
        div(class="content-container")
 | 
					        div(class="content-container")
 | 
				
			||||||
            div(class="map-container")
 | 
					            div(class="map-container")
 | 
				
			||||||
                h1 Карта
 | 
					                h1 Карта
 | 
				
			||||||
                p Пока что тут пусто, но скоро будет кое-что интересное!
 | 
					                iframe(src="/map" class="map-container")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user