diff --git a/public/index.html b/public/index.html index 3504cfa..bf242dc 100644 --- a/public/index.html +++ b/public/index.html @@ -4,11 +4,606 @@ Notes & Todos - - + - - + +
+
+

Connexion

+
+
+ + +
+
+ + +
+ +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/server.js b/server.js index 2c8827a..8b737fb 100644 --- a/server.js +++ b/server.js @@ -42,15 +42,7 @@ app.use(helmet({ })); app.use(cors()); app.use(express.json()); - -// Serve static files with correct MIME types -app.use(express.static('public', { - setHeaders: (res, path) => { - if (path.endsWith('.css')) { - res.setHeader('Content-Type', 'text/css'); - } - } -})); +app.use(express.static('public')); // Set JWT_SECRET environment variable if not set if (!process.env.JWT_SECRET) {