diff --git a/src/inc/routes/upload.mjs b/src/inc/routes/upload.mjs new file mode 100644 index 0000000..b7baac1 --- /dev/null +++ b/src/inc/routes/upload.mjs @@ -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; +}; diff --git a/views/upload.html b/views/upload.html new file mode 100644 index 0000000..d9bf147 --- /dev/null +++ b/views/upload.html @@ -0,0 +1,10 @@ +@include(snippets/header) +
Upload
+

To upload videos to w0bm you must join our Telegram group

+

An admin will accept your join request shortly

+
How it works
+ +@include(snippets/footer) \ No newline at end of file