mirror of
https://github.com/gundb/panic-server.git
synced 2026-01-15 00:08:05 -05:00
10 lines
230 B
JavaScript
10 lines
230 B
JavaScript
/*jslint node: true, nomen: true */
|
|
var port, app, express = require('express');
|
|
app = express();
|
|
port = process.argv[2] || 8080;
|
|
|
|
app.use('/', express['static'](__dirname));
|
|
|
|
require('gun-level')().attach(app);
|
|
app.listen(port);
|