fix: remove https validation from plugin url fields (#270)

This commit is contained in:
Hezi-crypto
2025-07-31 12:19:01 +08:00
committed by GitHub
parent 977f2c423a
commit 5c5b40606a
2 changed files with 3 additions and 11 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { useEffect, useState } from 'react';
import { type PluginInfoProps } from '@coze-studio/plugin-shared';
@@ -66,10 +66,6 @@ export const formRuleList = {
required: true,
message: I18n.t('create_plugin_modal_url1_error'),
},
{
pattern: /^(https):\/\/.+$/,
message: I18n.t('create_plugin_modal_url_error_https'),
},
],
key: [
{