This commit is contained in:
janis
2022-11-24 16:20:20 +01:00
parent f692a82423
commit d15bf94121
19 changed files with 153 additions and 128 deletions

View File

@@ -28,7 +28,9 @@ app.get('/projects/css/:file', (request, response) => {
response.sendFile(path.join(__dirname + "/css/" + request.params.file))
})
app.get('/assets/:file', (request, response) => {
response.sendFile(path.join(__dirname + "/assets/" + request.params.file))
})
http.createServer(
app
).listen(8080);
http.createServer(app).listen(8080);