uuid-wildcard

This commit is contained in:
Flummi 2018-02-16 16:53:48 +01:00
parent 57d79a46ac
commit 97fcdbebbd

View File

@ -25,6 +25,10 @@ app
.use("/v", router.view)
.use("/a", router.about)
.get("/:uuid", (req, res) => {
res.send(req.params.uuid);
})
.listen(cfg.websrv.port, () => {
console.log(`fpaste listening on port ${cfg.websrv.port}`);
});