Skip to content

Commit

Permalink
Remove weird old 2.json debug HTTP handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Aug 7, 2024
1 parent b675eb1 commit 6718ded
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ char *readfile(char *fn, char *ctype, int *len) {
"text/html\r\nConnection: close");
else if (endswith(fn, "xml"))
strcpy(ctype, "Cache-Control: no-cache\r\nContent-type: text/xml");
else if (endswith(fn, "2.json")) // debug
strcpy(ctype, "Content-type: application/json");
else if (endswith(fn, "json"))
strcpy(ctype, "Cache-Control: no-cache\r\nContent-type: "
"application/json");
Expand Down

0 comments on commit 6718ded

Please sign in to comment.