Skip to content

Commit

Permalink
Set ads.txt content type to text/plain
Browse files Browse the repository at this point in the history
  • Loading branch information
skynetcap committed Aug 19, 2022
1 parent 5a8892b commit f4f705e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public String market(Model model, @PathVariable String market) {
}

// Required by adsense
@RequestMapping("/ads.txt")
@RequestMapping(value = "/ads.txt", produces = "text/plain")
@ResponseBody
public String adsTxt() {
return "google.com, pub-5953035831251215, DIRECT, f08c47fec0942fa0";
Expand Down

0 comments on commit f4f705e

Please sign in to comment.