From e66f7d0d0176ee727618982237b763211a3bd40d Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 24 Jul 2019 23:10:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=81=E8=AE=B8=E4=B8=80?= =?UTF-8?q?=E4=BA=9BMethod=EF=BC=8C=E5=AF=B9=E4=BA=8E=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=BA=94=E7=94=A8=E6=95=B0=E6=8D=AE=E6=94=BE?= =?UTF-8?q?=E8=A1=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 2 +- web/src/main/resources/config/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 2c95562b..e5aa7134 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -333,7 +333,7 @@ shiro: remoteAddrHeaderName: X-Forwarded-For # 允许的请求方法设定,解决安全审计问题 - allowRequestMethods: GET,POST + allowRequestMethods: GET,POST,OPTIONS,PUT,DELETE # 是否允许账号多地登录,如果设置为false,同一个设备类型的其它地点登录的相同账号被踢下线 isAllowMultiAddrLogin: true diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index c84f3181..70627b50 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -373,7 +373,7 @@ logging: # remoteAddrHeaderName: X-Forwarded-For # # # 允许的请求方法设定,解决安全审计问题 -# allowRequestMethods: GET,POST +# allowRequestMethods: GET,POST,OPTIONS,PUT,DELETE # # # 是否允许账号多地登录,如果设置为false,同一个设备类型的其它地点登录的相同账号被踢下线 # isAllowMultiAddrLogin: true