Kevin1217 commited on
Commit
7479753
1 Parent(s): 0482da5

Update config.toml

Browse files
Files changed (1) hide show
  1. config.toml +7 -3
config.toml CHANGED
@@ -1,9 +1,10 @@
1
  [meme]
2
  load_builtin_memes = true # 是否加载内置表情包
3
- meme_dirs = ["/home/user/meme-extend"] # 加载其他位置的表情包,填写文件夹路径
4
- meme_disabled_list = [] # 禁用的表情包列表,填写表情的 `key`
5
 
6
  [resource]
 
7
  resource_urls = [
8
  "https://raw.githubusercontent.com/MeetWq/meme-generator/",
9
  "https://ghproxy.com/https://raw.githubusercontent.com/MeetWq/meme-generator/",
@@ -23,5 +24,8 @@ baidu_trans_appid = "" # 百度翻译api相关,表情包 `dianzhongdian` 需
23
  baidu_trans_apikey = "" # 可在 百度翻译开放平台 (http://api.fanyi.baidu.com) 申请
24
 
25
  [server]
26
- host = "0.0.0.0" # web server 监听地址
27
  port = 2233 # web server 端口
 
 
 
 
1
  [meme]
2
  load_builtin_memes = true # 是否加载内置表情包
3
+ meme_dirs = ['./memes'] # 加载其他位置的表情包,填写文件夹路径
4
+ meme_disabled_list = ['bad_news','good_news','knock'] # 禁用的表情包列表,填写表情的 `key`
5
 
6
  [resource]
7
+ # 下载内置表情包图片时的资源链接,下载时选择最快的站点
8
  resource_urls = [
9
  "https://raw.githubusercontent.com/MeetWq/meme-generator/",
10
  "https://ghproxy.com/https://raw.githubusercontent.com/MeetWq/meme-generator/",
 
24
  baidu_trans_apikey = "" # 可在 百度翻译开放平台 (http://api.fanyi.baidu.com) 申请
25
 
26
  [server]
27
+ host = "127.0.0.1" # web server 监听地址
28
  port = 2233 # web server 端口
29
+
30
+ [log]
31
+ log_level = "INFO" # 日志等级