diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-07 09:32:03 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-07 09:32:03 +0200 |
| commit | 5c317c0b8d7dd9bb86f220b445472e5d6cd6db02 (patch) | |
| tree | 430e68a7b3d8aac40f701122d888d014b953e184 | |
| parent | 09b25ecc514c92ccc1443a2acc8f38ee081c1775 (diff) | |
| download | busybox-w32-5c317c0b8d7dd9bb86f220b445472e5d6cd6db02.tar.gz busybox-w32-5c317c0b8d7dd9bb86f220b445472e5d6cd6db02.tar.bz2 busybox-w32-5c317c0b8d7dd9bb86f220b445472e5d6cd6db02.zip | |
httpd: add js to built in MIME types list
Firefox needs this to execute .js
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | networking/httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index b09ac0a2f..9d4130244 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
| @@ -1729,6 +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 | ".wav\0" "audio/wav\0" | 1733 | ".wav\0" "audio/wav\0" |
| 1733 | ".avi\0" "video/x-msvideo\0" | 1734 | ".avi\0" "video/x-msvideo\0" |
| 1734 | ".qt.mov\0" "video/quicktime\0" | 1735 | ".qt.mov\0" "video/quicktime\0" |
