Commit 36ef2a8650692bde15304674fc1aff8a59ed0d09
1 parent
9210d972
fix: 可视化大屏放行端口!
Showing
2 changed files
with
2 additions
and
2 deletions
Bsth-admin/src/main/java/com/ruoyi/BsthApplication.java
| ... | ... | @@ -31,7 +31,7 @@ public class BsthApplication { |
| 31 | 31 | // System.setProperty("spring.devtools.restart.enabled", "false"); |
| 32 | 32 | ConfigurableApplicationContext app = SpringApplication.run(BsthApplication.class, args); |
| 33 | 33 | Environment env = app.getEnvironment(); |
| 34 | - log.info("(♥◠‿◠)ノ゙ 酒精签到后台启动成功 ლ(´ڡ`ლ)゙ \n" + | |
| 34 | + log.info("(♥◠‿◠)ノ゙ 岗前检测后台启动成功 ლ(´ڡ`ლ)゙ \n" + | |
| 35 | 35 | " .-------. ____ __ \n" + |
| 36 | 36 | " | _ _ \\ \\ \\ / / \n" + |
| 37 | 37 | " | ( ' ) | \\ _. / ' \n" + | ... | ... |
Bsth-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
| ... | ... | @@ -111,7 +111,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter |
| 111 | 111 | // 过滤请求 |
| 112 | 112 | .authorizeRequests() |
| 113 | 113 | // 对于登录login 注册register 验证码captchaImage 允许匿名访问 |
| 114 | - .antMatchers("/report/list/**","/system/dict/data/**","/app/version/check/**","/app/checkDeviceHeart","/app/download","/driver/**","/in/**","/eexception/**","/equipment/**","/report/**","/login", "/register", "/captchaImage").permitAll() | |
| 114 | + .antMatchers("/big/view/**","/report/list/**","/system/dict/data/**","/app/version/check/**","/app/checkDeviceHeart","/app/download","/driver/**","/in/**","/eexception/**","/equipment/**","/report/**","/login", "/register", "/captchaImage").permitAll() | |
| 115 | 115 | // 静态资源,可匿名访问 |
| 116 | 116 | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |
| 117 | 117 | .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll() | ... | ... |