i399exexpress/examples/express1.js

8 lines
124 B
JavaScript
Raw Normal View History

2017-05-09 15:42:06 +03:00
'use strict';
const express = require('express');
const app = express();
app.use(express.static('./'));
app.listen(3000);