Skip to content

Commit

Permalink
Merge pull request #120 from skynetcap/feature/design-fix
Browse files Browse the repository at this point in the history
Set `ads.txt` content type to `text/plain`
  • Loading branch information
skynetcap authored Aug 19, 2022
2 parents 4e76bf4 + f4f705e commit 6aa15ae
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 6aa15ae

Please sign in to comment.