unpkg/modules/functions/servePublicKey.js

14 lines
268 B
JavaScript
Raw Normal View History

2019-01-06 00:50:05 +00:00
import cors from 'cors';
2019-01-15 16:42:54 +00:00
import express from 'express';
2019-01-06 00:50:05 +00:00
2019-01-15 16:42:54 +00:00
import logging from '../middleware/logging';
2019-01-06 00:50:05 +00:00
import showPublicKey from '../actions/showPublicKey';
2019-01-15 15:56:26 +00:00
const app = express.Router();
2019-01-06 00:50:05 +00:00
2019-01-15 16:42:54 +00:00
app.use(logging);
2019-01-06 00:50:05 +00:00
app.use(cors());
app.use(showPublicKey);
export default app;