()
| 194 | }; |
| 195 | |
| 196 | const submitWorker = async () => { |
| 197 | let WorkerUrl = removeTrailingSlash(inputs.WorkerUrl); |
| 198 | const options = [ |
| 199 | { key: 'WorkerUrl', value: WorkerUrl }, |
| 200 | { |
| 201 | key: 'WorkerAllowHttpImageRequestEnabled', |
| 202 | value: inputs.WorkerAllowHttpImageRequestEnabled ? 'true' : 'false', |
| 203 | }, |
| 204 | ]; |
| 205 | if (inputs.WorkerValidKey !== '' || WorkerUrl === '') { |
| 206 | options.push({ key: 'WorkerValidKey', value: inputs.WorkerValidKey }); |
| 207 | } |
| 208 | await updateOptions(options); |
| 209 | }; |
| 210 | |
| 211 | const submitServerAddress = async () => { |
| 212 | let ServerAddress = removeTrailingSlash(inputs.ServerAddress); |
nothing calls this directly
no test coverage detected