5 lines
169 B
JavaScript
5 lines
169 B
JavaScript
var express = require('express');
|
|
var app = express();
|
|
app.use(express.compress());
|
|
app.use(express.static(__dirname + '/public'));
|
|
app.listen(process.env.PORT || 3000); |