浏览代码

fix: HTML转图片配置

hsun 1 年之前
父节点
当前提交
63c194e66a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      html2img/main.py

+ 2 - 1
html2img/main.py

@@ -16,7 +16,8 @@ host = '127.0.0.1'
 debug = True
 debug = True
 
 
 # 工具配置
 # 工具配置
-tool_path = r'E:\wkhtmltopdf\bin\wkhtmltoimage.exe'
+tool_path = r'/usr/local/bin/wkhtmltoimage'
+# tool_path = r'E:\wkhtmltopdf\bin\wkhtmltoimage.exe'
 
 
 # OSS配置
 # OSS配置
 oss_end_point = 'oss-cn-shanghai.aliyuncs.com'
 oss_end_point = 'oss-cn-shanghai.aliyuncs.com'