We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76541a commit 6f8a434Copy full SHA for 6f8a434
src/common/utils/validator.js
@@ -818,7 +818,7 @@ export const textRecordValueSchema = () => string().default('').strict(true);
818
819
export const workerpoolApiUrlSchema = () =>
820
string()
821
- .matches(/^(|https?:\/\/.*)$/, '${path} "${value}" is not a valid URL')
+ .matches(/^(https?:\/\/.*)?$/, '${path} "${value}" is not a valid URL') // accept empty string to reset workerpool URL
822
.default('');
823
824
export const smsUrlOrMapSchema = () =>
0 commit comments