mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-05 06:01:46 +00:00
feat: dyn middlewares based on js rt
This commit is contained in:
@@ -73,3 +73,12 @@
|
||||
# 节点类型
|
||||
# 如果是主节点则为master
|
||||
# NODE_TYPE=master
|
||||
|
||||
# JavaScript 运行时配置
|
||||
# 是否启用(默认:true)
|
||||
# JS_RUNTIME_ENABLED=true
|
||||
# 脚本文件夹(可选,默认 scripts/)
|
||||
# JS_SCRIPTS_DIR=./custom_scripts
|
||||
# 启用调试日志(可选)
|
||||
# JS_RUNTIME_DEBUG=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user