CSS Файл подключен, но свойства не работают (node.js)
Мой node.js code:
// --Config
const express = require('express')
const server = express();
const http = require("http").createServer(server)
const io = require("socket.io")(http)
const hostname = '127.0.0.1';
const port = 3000;
http.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
// -- Styles
server.use(express.static(__dirname + '/assets'))
// --Pages
server.get('/', function(request, respons){
respons.sendFile(__dirname + '/index.html')
})
// --Requests
io.sockets.on("connection", function(socket){
socket.on("test", function(){
})
})
Мой html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" href="assets/main.css">
<title>Main</title>
</head>
<body>
<menu>
<nav>
<div class="logo"></div>
<div class="navigation">Hello</div>
<div class="login"></div>
</nav>
</menu>
<script src="socket.io/socket.io.js"></script>
<script>
let socket = io()
</script>
</body>
</html>
Вот так у меня выглядит директория:
Никаких ошибок в консоли нету, файл подключен как я понял, но при этом никакие свойства не применяются