diff options
Diffstat (limited to 'put_in_db.js')
-rw-r--r-- | put_in_db.js | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/put_in_db.js b/put_in_db.js index cbc7f8d..d677b08 100644 --- a/put_in_db.js +++ b/put_in_db.js @@ -42,12 +42,22 @@ blogs = [ keywords: "irc,bot,sms", lastUpdatedAt: Date.now(), }, -]; - -// db.blogposts.insertMany(blogs); -db.blogposts.updateMany( - { $set: blogs }, { - upsert: true, + title: + "What to do with your DNS when ODoH's Trust-Me-Bruh Model doesn't work for you", + slug: "What_to_do_with_your_DNS_when_ODoHs_Trust_Me_Bruh_Model_doesnt_work_for_you", + body: fs.readFileSync(path.join(__dirname) + "/mds/DNS.md"), + teaser: + "What to do with your DNS when ODoH's Trust-Me-Bruh Model doesn't work for you", + keywords: "DNS,DoH,DoT,ODoH,Tor,dnscrypt-proxy,vagrant", + lastUpdatedAt: Date.now(), }, -); +]; + +db.blogposts.insertMany(blogs); +// db.blogposts.updateMany( +// { $set: blogs }, +// { +// upsert: true, +// }, +// ); |