feat(移动端): 修改配置文件

master
wayn 4 years ago
parent 491e7a64c0
commit 37dc3babfa

@ -51,7 +51,7 @@ mybatis-plus:
wayn:
name: wayn
version: 1.1.0
email: 166738430@qq.com#
email: 166738430@qq.com
# uploadDir: /opt/wayn/upload # linux下文件上传目录
uploadDir: D:/wayn/upload # windows下文件上传目录
adminUrl: http://127.0.0.1:81

@ -54,7 +54,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
httpSecurity
// cors启用
.cors().and()
// CRSF禁用因为不使用session
// CSRF(跨站请求伪造)禁用因为不使用session
.csrf().disable()
// 认证失败处理类
.exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and()

Loading…
Cancel
Save