mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-02-04 02:04:42 +08:00
feat: 添加资源缓存开关、自动刷新AT fix: 修复邀请码复制、修复移动端无法滑动、优化图片、视频格式输出
This commit is contained in:
@@ -21,6 +21,7 @@ log_responses = true
|
||||
mask_token = true
|
||||
|
||||
[cache]
|
||||
enabled = true
|
||||
timeout = 600
|
||||
base_url = "http://127.0.0.1:8000"
|
||||
|
||||
@@ -37,6 +38,9 @@ proxy_url = "socks5://warp:1080"
|
||||
|
||||
[watermark_free]
|
||||
watermark_free_enabled = false
|
||||
parse_method = "third_party"
|
||||
custom_parse_url = ""
|
||||
custom_parse_token = ""
|
||||
|
||||
[video_length]
|
||||
default_length = "10s"
|
||||
@@ -44,3 +48,6 @@ default_length = "10s"
|
||||
[video_length.lengths]
|
||||
10s = 300
|
||||
15s = 450
|
||||
|
||||
[token_refresh]
|
||||
at_auto_refresh_enabled = false
|
||||
|
||||
Reference in New Issue
Block a user