Add ATProto DID rewrite
This commit is contained in:
parent
e041cbe746
commit
110d2cddb2
1 changed files with 9 additions and 2 deletions
|
|
@ -1,7 +1,14 @@
|
||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
/* config options here */
|
async rewrites() {
|
||||||
};
|
return [
|
||||||
|
{
|
||||||
|
source: '/.well-known/atproto-did',
|
||||||
|
destination: 'https://pds.frg.network/.well-known/atproto-did',
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue