File tree Expand file tree Collapse file tree
OpenBlog-business/src/main/java/com/yqz/openblog/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
7575 // Public articles/comments
7676 .requestMatchers (HttpMethod .GET , "/api/v1/articles/**" ).permitAll ()
7777 .requestMatchers (HttpMethod .GET , "/api/v1/media/**" ).permitAll ()
78+ // Public forum
79+ .requestMatchers (HttpMethod .GET , "/api/v1/forum/**" ).permitAll ()
7880 // Other write operations require auth
7981 .anyRequest ().authenticated ()
8082 )
Original file line number Diff line number Diff line change 7474 反馈
7575 </router-link >
7676
77- <a href =" #" class =" site-nav-link site-nav-link-sm-hide" >
78- <span class =" site-nav-ico" aria-hidden =" true" >
79- <svg width =" 16" height =" 16" viewBox =" 0 0 24 24" fill =" none" stroke =" currentColor" stroke-width =" 2" stroke-linecap =" round" stroke-linejoin =" round" >
80- <path d =" M13 3v18" />
81- <path d =" M7 8h10l-3 5 3 5H7" />
82- </svg >
83- </span >
84- 公告
85- </a >
86-
8777 <a
8878 class =" site-nav-link site-nav-link-sm-hide"
8979 :href =" (siteConfig && siteConfig.source_code_url) || 'https://github.com/yyyCode/OpenBlog.git'"
Original file line number Diff line number Diff line change 1414 <span class =" right-dock-ico" aria-hidden =" true" >{{ isDark ? '☀' : '☽' }}</span >
1515 <span class =" right-dock-text" >{{ isDark ? '浅色' : '深色' }}</span >
1616 </button >
17+
18+ <button type =" button" class =" right-dock-btn" aria-label =" 公告" >
19+ <span class =" right-dock-ico" aria-hidden =" true" >
20+ <svg width =" 18" height =" 18" viewBox =" 0 0 24 24" fill =" none" stroke =" currentColor" stroke-width =" 2" stroke-linecap =" round" stroke-linejoin =" round" >
21+ <path d =" M13 3v18" />
22+ <path d =" M7 8h10l-3 5 3 5H7" />
23+ </svg >
24+ </span >
25+ <span class =" right-dock-text" >公告</span >
26+ </button >
1727 </div >
1828</template >
1929
You can’t perform that action at this time.
0 commit comments