diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-07 12:32:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-07 12:32:30 +0200 |
commit | 1230aec77a4034637ab6c95db6f8148c1d0df5e0 (patch) | |
tree | 72cfa32aa2938bd078ba1966dd8ad69cb54334a4 | |
parent | a5c5dc6f0b96f9ef8c567f40388d91d44aec1eb7 (diff) | |
download | busybox-w32-1230aec77a4034637ab6c95db6f8148c1d0df5e0.tar.gz busybox-w32-1230aec77a4034637ab6c95db6f8148c1d0df5e0.tar.bz2 busybox-w32-1230aec77a4034637ab6c95db6f8148c1d0df5e0.zip |
httpd: .js is "application/javascript", not "application/x-javascript"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 9d4130244..a0a4abc10 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1729,7 +1729,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what) | |||
1729 | ".svg\0" "image/svg+xml\0" | 1729 | ".svg\0" "image/svg+xml\0" |
1730 | /* .css line must be after .c line */ | 1730 | /* .css line must be after .c line */ |
1731 | ".css\0" "text/css\0" | 1731 | ".css\0" "text/css\0" |
1732 | ".js\0" "application/x-javascript\0" | 1732 | ".js\0" "application/javascript\0" |
1733 | ".wav\0" "audio/wav\0" | 1733 | ".wav\0" "audio/wav\0" |
1734 | ".avi\0" "video/x-msvideo\0" | 1734 | ".avi\0" "video/x-msvideo\0" |
1735 | ".qt.mov\0" "video/quicktime\0" | 1735 | ".qt.mov\0" "video/quicktime\0" |