favicon.ico

This commit is contained in:
nojava
2026-05-18 22:59:47 +08:00
parent c6d1b54822
commit d0052d9b63
4 changed files with 13 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
---
description: Git 提交与推送由用户手动处理,Agent 不得自动执行
alwaysApply: true
---
# Git:仅用户手动提交与推送
- **禁止**在未得到用户明确指令时执行 `git commit`、`git push`、`git push -u`,也不得在任务结束后“顺手”提交或推送。
- **禁止**为创建 PR 而自动 push;仅在用户明确要求 push / 创建 PR 且同意推送时再 push。
- 可以使用 `git status`、`git diff`、`git log` 等只读命令协助排查与说明变更。
- 完成代码修改后:简要说明改了什么;如需入库,提示用户自行 review 后手动 commit / push,不要代劳。
@@ -43,6 +43,7 @@ public class SecurityConfig {
.authorizeHttpRequests(auth -> auth
.requestMatchers("/api/auth/**").permitAll()
.requestMatchers("/api/public/**").permitAll()
.requestMatchers(HttpMethod.GET, "/api/app/comment/article/**").permitAll()
.requestMatchers("/api/oauth/**").permitAll()
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll()
.requestMatchers("/static/**", "/index.html", "/").permitAll()
+1
View File
@@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>博客系统</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
</head>
<body>
<div id="app"></div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB