uuid-wildcard
This commit is contained in:
parent
57d79a46ac
commit
97fcdbebbd
|
@ -25,6 +25,10 @@ app
|
||||||
.use("/v", router.view)
|
.use("/v", router.view)
|
||||||
.use("/a", router.about)
|
.use("/a", router.about)
|
||||||
|
|
||||||
|
.get("/:uuid", (req, res) => {
|
||||||
|
res.send(req.params.uuid);
|
||||||
|
})
|
||||||
|
|
||||||
.listen(cfg.websrv.port, () => {
|
.listen(cfg.websrv.port, () => {
|
||||||
console.log(`fpaste listening on port ${cfg.websrv.port}`);
|
console.log(`fpaste listening on port ${cfg.websrv.port}`);
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user