mokee commited on
Commit
622fbe7
·
verified ·
1 Parent(s): 1f5b7fb

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -23,7 +23,7 @@ const runInkscape = (svg, mode) => {
23
  fs.writeFileSync(inputFile, processedSvg);
24
 
25
  // 构建指令
26
- let coreActions = ['object-to-path']; // 第一步:强制将矩形/圆等转为路径
27
 
28
  if (mode === 'stroke') {
29
  coreActions.push('object-stroke-to-path', 'path-union');
 
23
  fs.writeFileSync(inputFile, processedSvg);
24
 
25
  // 构建指令
26
+ let coreActions = [];
27
 
28
  if (mode === 'stroke') {
29
  coreActions.push('object-stroke-to-path', 'path-union');