mokee commited on
Commit
952b752
·
verified ·
1 Parent(s): 1ea5cda

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +4 -9
server.js CHANGED
@@ -148,18 +148,13 @@ app.post('/expand-stroke-fill', (req, res) => {
148
  // 复刻你本地成功的指令链
149
  const actions = [
150
  `file-open:${inputFile}`,
151
- 'select-all',
152
-
153
-
154
- // ?? 新增:强制填充
155
- 'object-set-property:fill,#000000',
156
- 'object-set-property:fill-opacity,1',
157
 
158
- // ?? 原有逻辑
159
- 'object-stroke-to-path',
160
 
 
 
161
 
162
- 'path-combine',
163
 
164
  'path-union',
165
 
 
148
  // 复刻你本地成功的指令链
149
  const actions = [
150
  `file-open:${inputFile}`,
151
+
 
 
 
 
 
152
 
 
 
153
 
154
+ 'selection-duplicate', // 复制
155
+ 'object-stroke-to-path', // 转轮廓
156
 
157
+ 'select-all',
158
 
159
  'path-union',
160