const express = require('express'); const app = express(); const port = 2255; app.use(express.static(`assets`)); app.listen(port, `127.0.0.1`); console.log(`Portfolio online on port : ` + port); app.get('/', (req, res) => { res.sendFile(__dirname + `/index.html`); }) app.get('/fr-FR', (req, res) => { res.sendFile(__dirname + `/french.html`); })