Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ bestiary/
## 🗺 Sitemap

The sitemap is available at:
[https://weirdanimals.life/sitemap.xml](https://weirdanimals.life/sitemap.xml)
[https://weirdanimals.net/sitemap.xml](https://weirdanimals.net/sitemap.xml)

## 🔧 Development Tips

Expand Down
4 changes: 2 additions & 2 deletions netlify/functions/qa-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//
// How the path is read:
// - In Netlify Functions v2, req.url reflects the URL the client actually
// requested (e.g. https://weirdanimals.life/qa-302), even when the
// requested (e.g. https://weirdanimals.net/qa-302), even when the
// function was reached via a rewrite-proxy. We parse the pathname and
// match against an explicit allow-list of codes. Unknown paths return
// a 404 so misconfiguration fails loud instead of silently emitting a
Expand All @@ -37,7 +37,7 @@ type HtmlConfig = {

type CodeConfig = RedirectConfig | HtmlConfig;

const REDIRECT_LOCATION = "https://weirdanimals.life/";
const REDIRECT_LOCATION = "https://weirdanimals.net/";

const CODES: Record<string, CodeConfig> = {
"301": { kind: "redirect", status: 301 },
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/sitemapPlugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from "path";
import fs from "fs";

const BASE_URL = 'https://weirdanimals.life';
const BASE_URL = 'https://weirdanimals.net';

const getJsonFiles = (dir) => {
try {
Expand Down
Loading