You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
355 B
11 lines
355 B
const nunjucks = require('nunjucks');
|
|
const express = require('express');
|
|
const viewModel = require('./viewModels');
|
|
const app = express();
|
|
const port = process.env.port || 3000;
|
|
|
|
nunjucks.configure('views', { express: app });
|
|
|
|
app.get('/', viewModel.listing);
|
|
|
|
app.listen(port, () => console.log(`Tor Explorer listening on port ${port}`));
|
|
|