贡献服务器权限拦截取消
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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">
|
||||
// 后台读取
|
||||
|
||||
Reference in New Issue
Block a user