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