Skip to content

Commit

Permalink
att
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmoutinho committed Mar 2, 2024
1 parent 72511b7 commit e642c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CWebStudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -5737,7 +5737,7 @@ const char *cweb_generate_content_type(const char *file_name){
if(strcmp(extension,"mp3") == 0){
return "audio/mpeg";
}

if(strcmp(extension,"pdf") == 0){
return "application/pdf";
}
Expand Down
2 changes: 1 addition & 1 deletion src/extras/extras.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const char *cweb_generate_content_type(const char *file_name){
if(strcmp(extension,"mp3") == 0){
return "audio/mpeg";
}

if(strcmp(extension,"pdf") == 0){
return "application/pdf";
}
Expand Down

0 comments on commit e642c79

Please sign in to comment.