From bc61b8ed76ab2c2cfc7e6693f4118b6ca3b61777 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 7 Jul 2022 19:33:11 +0200 Subject: [PATCH] add example message --- mastodon_multi_accounts.db | Bin 20480 -> 20480 bytes routes/index.js | 11 +++++++---- views/layout.jade | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/mastodon_multi_accounts.db b/mastodon_multi_accounts.db index baec03b20fd14f4d3e9020af4af2b872d83370c4..ed32c165f97cc94f242223a460d7b1e0e07442d3 100644 GIT binary patch delta 240 zcmZozz}T>Wae_3X;6xc`RzU{6Xp@a8v+YIMco`TN*!Z~__@D3}=AX)+&Tq-jy;)G; zJ72vH8ykbXsXRk&eoB6BW?pJ;X`VuEYH@L5da6Q-dTK>tZb43JW-gGcmsOCi!%C8B U7J{lRkqu`is2oZ4Wae_1>??f4AR$d0ZXoHO@v+a4Aco`TNnD`Gf@IT={yjf6SJOAXv{ { console.log(resp) let posts_list = [] - res.render('database', {posts_list: posts_list}); + res.redirect('/list') }, err => { console.log(err) }); } + + const prepared = prepare(); + } ); diff --git a/views/layout.jade b/views/layout.jade index 0c6cdbd..5995b3e 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -10,6 +10,6 @@ html a(href="/") ajouter a(href="/init-db") init DB a(href="/list") list DB - a(href="/add-to-db-example") ajout à la file example + a(href="/add-example") ajout à la file example block content