Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
untitled notebook
node v10.24.1
version:
2.0.0
endpoint
share
tweet
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