Skip to content

Commit

Permalink
Intercept request for bluesky domain validation
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Nov 16, 2024
1 parent e2f8a52 commit adff667
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
*/
error_reporting( E_ALL ^ E_DEPRECATED );

// Intercept requests to .well-known/atproto-did for bluesky validation.
if ( isset( $_SERVER['REQUEST_URI'] ) && '/.well-known/atproto-did' === $_SERVER['REQUEST_URI'] ) {
header( 'Content-Type: text/plain' );
echo 'did:plc:rqmijqyq6stfzw5a3jb4hlyl';
exit;
}

/**
* Set root path
*/
Expand Down

0 comments on commit adff667

Please sign in to comment.