Skip to content

Commit

Permalink
feat: update bot URL (#559)
Browse files Browse the repository at this point in the history
* feat: update bot URL to environment variable

* feat: update bot URL to environment variable
  • Loading branch information
duffn authored Nov 3, 2024
1 parent 8c37695 commit 996688f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/bot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.njk
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ permalink: "/about/"
<dd class="mt-4 lg:col-span-7 lg:mt-0">
<p class="text-base leading-7 text-gray-600">
There's also a <a class="underline text-red-600"
href="https://botsin.space/@dumbpasswordrules">bot</a> that periodically toots random rules on Mastodon!
href="https://infosec.exchange/@dumbpasswordrules">bot</a> that periodically toots random rules on Mastodon!
</p>
</dd>
</div>
Expand Down

0 comments on commit 996688f

Please sign in to comment.