Skip to content

Commit

Permalink
Development: Fix content-type of /.well-known/assetlinks.json (#9648)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelberMartin authored Nov 3, 2024
1 parent a3e6ecf commit 1644dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AndroidAppSiteAssociationResource {
*
* @return assetslinks as json
*/
@GetMapping("assetlinks.json")
@GetMapping(value = "assetlinks.json", produces = "application/json")
@ManualConfig
public ResponseEntity<List<AndroidAssetLinksEntry>> getAndroidAssetLinks() {
if (androidAppPackage == null || androidAppPackage.length() < 4 || sha256CertFingerprints == null || sha256CertFingerprints.length() < 20) {
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Disallow: /api/logs/
Disallow: /api/users/
Disallow: /management/
Disallow: /v3/api-docs/
Allow: /.well-known/

0 comments on commit 1644dc3

Please sign in to comment.