Skip to content

Commit 3d1bf1b

Browse files
committed
fix content type
1 parent e21b882 commit 3d1bf1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/rest/class-webfinger.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static function webfinger( $request ) {
6060

6161
$response = new WP_REST_Response( $response, 200 );
6262
$response->header( 'Access-Control-Allow-Origin', '*' );
63+
$response->header( 'Content-Type', 'application/jrd+json; charset=' . get_option( 'blog_charset' ) );
6364

6465
return $response;
6566
}

0 commit comments

Comments
 (0)