Browse Source

fix:docs ip new host

ryanemax 7 months ago
parent
commit
3b47e79b32
1 changed files with 2 additions and 1 deletions
  1. 2 1
      server/lib/docs/index.js

+ 2 - 1
server/lib/docs/index.js

@@ -12,7 +12,8 @@ const Docxtemplater = require("docxtemplater");
 
 // 文档转换
 import { Chromiumly } from "chromiumly";
-Chromiumly.configure({ endpoint: "http://8.140.98.43/docs" });
+// Chromiumly.configure({ endpoint: "http://8.140.98.43/docs" });
+Chromiumly.configure({ endpoint: "http://123.57.204.89/docs" });
 const { LibreOffice } = require("chromiumly");
 const { PDFEngines } = require("chromiumly");
 const tempDir = path.join(__dirname , "temp");