From 996688f122611a2d6a1e8a1a37a66bd5ef1cdeaa Mon Sep 17 00:00:00 2001 From: duffn <3457341+duffn@users.noreply.github.com> Date: Sun, 3 Nov 2024 15:53:37 -0700 Subject: [PATCH] feat: update bot URL (#559) * feat: update bot URL to environment variable * feat: update bot URL to environment variable --- .github/bot/index.js | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- src/pages/about.njk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/bot/index.js b/.github/bot/index.js index 1f3024b1..c4ec6261 100644 --- a/.github/bot/index.js +++ b/.github/bot/index.js @@ -44,7 +44,7 @@ https://dumbpasswordrules.com/sites/${slug}/ async function postSite() { try { const masto = await login({ - url: "https://botsin.space", + url: process.env.MASTODON_URL, accessToken: process.env.MASTODON_API_ACCESS_TOKEN, }); diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index df88dbb5..51cc8cf2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ npx http-server ./_site # Or `python -m http.server --directory _site` or any ot There's now a bot that will toot random rules periodically! You can take a look in the `.github/bot` directory. -You'll first need a bot on the https://botsin.space instance in order to run this code. +You'll first need a bot on the https://infosec.exchange instance in order to run this code. - Have [Node.js 18+](https://nodejs.org/en/) installed. diff --git a/README.md b/README.md index af8272e0..dd448ee6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ https://dumbpasswordrules.com A compilation of sites with dumb password rules. -⭐️ Now with a bot that periodically toots random rules! https://botsin.space/@dumbpasswordrules +⭐️ Now with a bot that periodically toots random rules! https://infosec.exchange/@dumbpasswordrules ## Contributing diff --git a/src/pages/about.njk b/src/pages/about.njk index 7aab4170..87084b05 100644 --- a/src/pages/about.njk +++ b/src/pages/about.njk @@ -35,7 +35,7 @@ permalink: "/about/"
There's also a bot that periodically toots random rules on Mastodon! + href="https://infosec.exchange/@dumbpasswordrules">bot that periodically toots random rules on Mastodon!