Files
f0ckv2/src/inc/routes/upload.mjs
x 2160729fc2
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 15s
blahhh
2025-07-22 16:28:24 +02:00

15 lines
262 B
JavaScript

import lib from "../lib.mjs";
export default (router, tpl) => {
router.get(/^\/upload$/, lib.auth, async (req, res) => {
res.reply({
body: tpl.render('upload', {
phrase,
tmp: null
}, req)
});
});
return router;
};