This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import checkConfig from './util/checkConfig.js' | |
const timestamp = new Date().getTime() | |
// [正则表达式, 文件夹名] | |
const ruleMap = new Map([ | |
[/FAMILY/i, '间谍过家家'], | |
[/Love.Live/i, 'Love Live! Superstar!! 第二季'], | |
[/Kaguya/i, '辉夜大小姐想让我告白'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/http/modules/ngx_http_autoindex_module.c b/src/http/modules/ngx_http_autoindex_module.c | |
index 082bcb5e..e0325e04 100644 | |
--- a/src/http/modules/ngx_http_autoindex_module.c | |
+++ b/src/http/modules/ngx_http_autoindex_module.c | |
@@ -50,9 +50,9 @@ typedef struct { | |
#define NGX_HTTP_AUTOINDEX_JSONP 2 | |
#define NGX_HTTP_AUTOINDEX_XML 3 | |
-#define NGX_HTTP_AUTOINDEX_PREALLOCATE 50 | |
+#define NGX_HTTP_AUTOINDEX_PREALLOCATE 150 |