提交 d0478171 编写于 作者: H hjdhnx

合并一个配置地址

上级 22fd0adb
......@@ -385,7 +385,8 @@ def admin_lives():
# print(live_path)
files = os.listdir(live_path)
# print(files)
files = list(filter(lambda x: str(x).endswith('.txt') and str(x).find('模板') < 0, files))
# files = list(filter(lambda x: str(x).endswith('.txt') and str(x).find('模板') < 0, files))
files = list(filter(lambda x: str(x).split('.')[-1] in ['txt','json','m3u'] and str(x).find('模板') < 0, files))
files = [f'{host_url}lives?path=txt/lives/{file}' for file in files]
return files
......
3.9.34beta31
\ No newline at end of file
3.9.35beta1
\ No newline at end of file
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册