This commit is contained in:
M1n-0
2024-06-06 00:54:56 +02:00
parent 61a496c376
commit d6bca74675
4 changed files with 7 additions and 11 deletions

1
app.js
View File

@@ -14,6 +14,7 @@ app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html'));
});
// Serve the test.html file at /test URL
app.get('/test', (req, res)=> {
res.sendFile(path.join(__dirname, '/html/test.html'))
})

View File

@@ -32,3 +32,7 @@ body {
opacity: 1;
}
}
.tada{
color: white;
}

View File

@@ -1,9 +0,0 @@
<!DOCTYPE html>
<head>
<title>Test</title>
<link rel="stylesheet" href="/assets/css/index.css">
</head>
<body>
<h1 class="Mino">Mino</h1>
<a href="/test">test</a>
</body>

View File

@@ -5,6 +5,6 @@
</head>
<body>
<h1 class="Mino">Mino</h1>
<h2>si tu vois ça c'est que ça marche</h2>
<h2 class="tada">si tu vois ça c'est que ça marche</h2>
<a href="/test">test</a>
</body>