Skip to content

Commit e642c79

Browse files
att
1 parent 72511b7 commit e642c79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CWebStudio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5737,7 +5737,7 @@ const char *cweb_generate_content_type(const char *file_name){
57375737
if(strcmp(extension,"mp3") == 0){
57385738
return "audio/mpeg";
57395739
}
5740-
5740+
57415741
if(strcmp(extension,"pdf") == 0){
57425742
return "application/pdf";
57435743
}

src/extras/extras.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const char *cweb_generate_content_type(const char *file_name){
103103
if(strcmp(extension,"mp3") == 0){
104104
return "audio/mpeg";
105105
}
106-
106+
107107
if(strcmp(extension,"pdf") == 0){
108108
return "application/pdf";
109109
}

0 commit comments

Comments
 (0)