From 8f72a93fc3da9b7e19d1ffc3bed1d34ae2e66a17 Mon Sep 17 00:00:00 2001 From: GetAway Date: Fri, 11 Feb 2022 08:12:26 +0100 Subject: [PATCH] yconfig.h: add mime-type m3u8:application/x-mpegURL - fix some others Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c3d4ef1f99ec9e90fb67422c83aba2960d1587f3 Author: GetAway Date: 2022-02-11 (Fri, 11 Feb 2022) Origin message was: ------------------ - yconfig.h: add mime-type m3u8:application/x-mpegURL - fix some others ------------------ This commit was generated by Migit --- src/nhttpd/yconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/yconfig.h b/src/nhttpd/yconfig.h index d00e2ec20..7b9abe2c8 100644 --- a/src/nhttpd/yconfig.h +++ b/src/nhttpd/yconfig.h @@ -96,7 +96,7 @@ #define UPLOAD_TMP_FILE "/tmp/upload.tmp" #define CACHE_DIR "/tmp/.cache" #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" -#define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:text/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/bmp,css:text/css,js:text/plain,yjs:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:application/octet-stream,tar:application/octet-stream,gz:text/x-gzip,ts:video/MP2T,mkv:video/x-matroska,avi:video/avi,mp3:audio/mpeg,ogg:audio/ogg" +#define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:application/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/x-ms-bmp,css:text/css,js:application/javascript,yjs:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:audio/x-mpegURL,m3u8:application/x-mpegURL,tar:application/x-tar,gz:application/gzip,ts:video/MP2T,mkv:video/x-matroska,avi:video/x-msvideo,mp3:audio/mpeg,ogg:audio/ogg" #define HTTPD_SENDFILE_ALL "true" #define HTTPD_LANGUAGEDIR "languages" #define HTTPD_DEFAULT_LANGUAGE "Deutsch"