diff --git a/public/images/dash/cover.jpg b/public/images/dash/cover.jpg deleted file mode 100644 index 78d6b0a..0000000 Binary files a/public/images/dash/cover.jpg and /dev/null differ diff --git a/public/javascripts/dash/cover.jpg b/public/javascripts/dash/cover.jpg deleted file mode 100644 index 78d6b0a..0000000 Binary files a/public/javascripts/dash/cover.jpg and /dev/null differ diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css deleted file mode 100644 index 9453385..0000000 --- a/public/stylesheets/style.css +++ /dev/null @@ -1,8 +0,0 @@ -body { - padding: 50px; - font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; -} - -a { - color: #00B7FF; -} diff --git a/routes/common.js b/routes/common.js index 5367a90..3f90411 100644 --- a/routes/common.js +++ b/routes/common.js @@ -30,13 +30,14 @@ function handleQuery(col,byDate,byName){ if(byName){ res = res.sort((a,b)=>sortableText(b.name) > sortableText(a.name) ? -1 : 0) } - // devlog(res) return res } function devlog(v) { if (process.env.develop == 'true') { console.log(v) + } else { + // push to telegram notifications } } diff --git a/views/dash/app.pug b/views/dash/app.pug deleted file mode 100644 index 8a5c021..0000000 --- a/views/dash/app.pug +++ /dev/null @@ -1,15 +0,0 @@ - -doctype html -html - head - title dash - script(src='https://telegram.org/js/telegram-web-app.js') - meta(name='viewport' content='width=device-width, initial-scale=1.0') - meta(name='description' content='Попробуйте — вам понравится.') - script(src='https://cdnjs.cloudflare.com/ajax/libs/axios/0.20.0/axios.js') - script!=`roomId=${room}` - - body - p Авторизую вас полностью... - - script(src='/javascripts/dash/app.js') diff --git a/views/error.pug b/views/error.pug deleted file mode 100644 index 51ec12c..0000000 --- a/views/error.pug +++ /dev/null @@ -1,6 +0,0 @@ -extends layout - -block content - h1= message - h2= error.status - pre #{error.stack} diff --git a/views/index.pug b/views/index.pug deleted file mode 100644 index 3d63b9a..0000000 --- a/views/index.pug +++ /dev/null @@ -1,5 +0,0 @@ -extends layout - -block content - h1= title - p Welcome to #{title} diff --git a/views/layout.pug b/views/layout.pug deleted file mode 100644 index 15af079..0000000 --- a/views/layout.pug +++ /dev/null @@ -1,7 +0,0 @@ -doctype html -html - head - title= title - link(rel='stylesheet', href='/stylesheets/style.css') - body - block content