blah
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 14s

This commit is contained in:
x
2025-07-22 16:27:18 +02:00
parent 99f8f623ba
commit a8503c299b
2 changed files with 22 additions and 0 deletions

12
src/inc/routes/upload.mjs Normal file
View File

@@ -0,0 +1,12 @@
export default (router, tpl) => {
router.get(/^\/upload$/, lib.auth, async (req, res) => {
res.reply({
body: tpl.render('upload', {
phrase,
tmp: null
}, req)
});
});
return router;
};

10
views/upload.html Normal file
View File

@@ -0,0 +1,10 @@
@include(snippets/header)
<h5>Upload</h5>
<p>To upload videos to w0bm you must join our <a href="https://t.me/+Qwh6KgnYfEMxOWUy">Telegram</a> group</p>
<p>An admin will accept your join request shortly</p>
<h5>How it works</h5>
<ul>
<li>Maximum filesize for direct file upload via Telegram is 20MB</li>
<li>Add a !f behind any url you want and send it, the bot will pick it up.</li>
</ul>
@include(snippets/footer)