贡献服务器权限拦截取消

This commit is contained in:
limqhz
2022-05-16 00:26:53 +08:00
parent e62e9300c5
commit 7163f6cd7e
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/source","/source/view/*").permitAll()
.antMatchers("/blog","/blog/read/*").permitAll()
.antMatchers("/search/**").permitAll()
.antMatchers("//about").permitAll()
.antMatchers("/about").permitAll()
.antMatchers("/user/donate").permitAll()
.antMatchers("/hotspot").permitAll()
.antMatchers("/blog/**").authenticated()
.antMatchers("/source/**").authenticated()

View File

@@ -50,7 +50,7 @@
<script th:src="@{/js/jquery-ui.min.js}"></script>
<script th:src="@{/live/js/addlive2d.js}"></script>
<!-- layer 赞赏码 -->
<script th:src="@{/layer/mobile/layer.js}"></script>
<script th:src="@{/layer/layer.js}"></script>
<script th:src="@{/js/axios.js}"></script>
<script type="text/javascript">
// 后台读取