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