untitled notebook

node v10.24.1
version: 2.0.0
endpointsharetweet
const express = require('express') const app = express() const port = 3000 app.get('/', function (req, res) { // res.send('<h1>Hello world</h1>'); //res.send(JSON.stringify(res)); res.sendFile(__dirname + 'https://udv-trygsundhed.carex.dk/notifications/indexserver.html', res); }); app.listen(port, () => console.log(`Example app listening on port ${port}!`))
Created from: https://expressjs.com/en/starter/hello-world.html
Loading…

no comments

    sign in to comment