MorseTrackerHWCode/server/static-server.js
2020-07-16 16:49:29 -05:00

12 lines
206 B
JavaScript

var express = require('express');
function StaticServer() {
var router = express.Router();
router.use('/', express.static(__dirname + '/..'));
return router
}
module.exports = StaticServer;