瀏覽代碼

fix: webhook校验

hear 3 年之前
父節點
當前提交
f5bbf30797
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 4 4
      config/proxy.ts
  2. 6 6
      src/pages/notice/Config/Detail/index.tsx

+ 4 - 4
config/proxy.ts

@@ -9,14 +9,14 @@
 export default {
   dev: {
     '/api': {
-      target: 'http://192.168.32.28:8844/',
-      ws: 'ws://192.168.32.28:8844/',
+      // target: 'http://192.168.32.28:8844/',
+      // ws: 'ws://192.168.32.28:8844/',
       // 开发环境
       // target: 'http://120.79.18.123:8844/',
       // ws: 'ws://120.79.18.123:8844/',
       // 测试环境
-      // target: 'http://120.77.179.54:8844/',
-      // ws: 'ws://120.77.179.54:8844/',
+      target: 'http://120.77.179.54:8844/',
+      ws: 'ws://120.77.179.54:8844/',
       // target: 'http://192.168.32.65:8850/',
       // ws: 'ws://192.168.32.65:8850/',
       //v2环境

+ 6 - 6
src/pages/notice/Config/Detail/index.tsx

@@ -525,12 +525,12 @@ const Detail = observer(() => {
                 },
                 'x-component': 'Input',
                 'x-decorator': 'FormItem',
-                'x-validator': [
-                  {
-                    max: 64,
-                    message: '最多可输入64个字符',
-                  },
-                ],
+                // 'x-validator': [
+                //   {
+                //     max: 64,
+                //     message: '最多可输入64个字符',
+                //   },
+                // ],
               },
               headers: {
                 title: '请求头',