favicon.ico
This commit is contained in:
@@ -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
|
.authorizeHttpRequests(auth -> auth
|
||||||
.requestMatchers("/api/auth/**").permitAll()
|
.requestMatchers("/api/auth/**").permitAll()
|
||||||
.requestMatchers("/api/public/**").permitAll()
|
.requestMatchers("/api/public/**").permitAll()
|
||||||
|
.requestMatchers(HttpMethod.GET, "/api/app/comment/article/**").permitAll()
|
||||||
.requestMatchers("/api/oauth/**").permitAll()
|
.requestMatchers("/api/oauth/**").permitAll()
|
||||||
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll()
|
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll()
|
||||||
.requestMatchers("/static/**", "/index.html", "/").permitAll()
|
.requestMatchers("/static/**", "/index.html", "/").permitAll()
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>博客系统</title>
|
<title>博客系统</title>
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user