My name is Killian 'DAL-CIN, I am 18 years old, I am passionate about programming, photography, music and sports. Let's talk a bit of my history, I was 15 and diff --git a/index.js b/index.js new file mode 100644 index 0000000..e9e58d8 --- /dev/null +++ b/index.js @@ -0,0 +1,17 @@ +const express = require('express'); +const app = express(); +const port = 2255; + +app.use(express.static(`assets`)); + +app.listen(port, `127.0.0.1`); + +console.log(`Portfolioen ligne sur le port : ` + port); + +app.get('/', (req, res) => { + res.sendFile(__dirname + `/index.html`); +}) + +app.get('/fr-FR', (req, res) => { + res.sendFile(__dirname + `/french.html`); +})
Je m'appelle Killian 'DAL-CIN, j'ai 18 ans, je suis passionné par la programmation, la photographie, la musique et le sport. Parlons un peu de mon histoire, diff --git a/index.html b/index.html index ae51d56..2f6ab18 100644 --- a/index.html +++ b/index.html @@ -10,12 +10,12 @@ - - + +
- +