Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const express = require('express');
- const fs = require('fs');
- const app = express();
- app.use(express.static(__dirname + '/public'))
- const port = process.env.PORT || 3001;
- const server = app.listen(port);
- console.log('success!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement