diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..b20a6b5 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,8 @@ +[[redirects]] + from = "/.well-known/host-meta*" + to = "https://fed.brid.gy/.well-known/host-meta:splat" + status = 302 +[[redirects]] + from = "/.well-known/webfinger*" + to = "https://fed.brid.gy/.well-known/webfinger" + status = 302 diff --git a/vercel.json b/vercel.json deleted file mode 100644 index e63cb9d..0000000 --- a/vercel.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "rewrites": [ - { - "source": "/.well-known/webfinger*", - "destination": "https://fed.brid.gy/.well-known/webfinger*" - }, - { - "source": "/.well-known/host-meta*", - "destination": "https://fed.brid.gy/.well-known/host-meta*" - } - ] -}