Closed patrixr closed 5 years ago
I've been fiddling with vapid, and trying to figure out if I can add site-specific endpoints to my project.
Given that Vapid wraps a Koa app, could that be exposed in order for us to add our own middlewares ? Something along the lines of : e.g
let Vapid = require("vapid-cli/lib/vapid"); let vapid = new Vapid(__dirname); let app = vapid.getServer(); app.use(myMiddleware); vapid.start();
This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.
I've been fiddling with vapid, and trying to figure out if I can add site-specific endpoints to my project.
Given that Vapid wraps a Koa app, could that be exposed in order for us to add our own middlewares ? Something along the lines of : e.g