MorseTrackerSwCode/server/static-server.js

12 lines
206 B
JavaScript
Raw Normal View History

2019-02-02 04:35:06 +00:00
var express = require('express');
function StaticServer() {
var router = express.Router();
router.use('/', express.static(__dirname + '/..'));
return router
}
module.exports = StaticServer;