fix: 修复关注按钮 CSRF 403 + 缺少样式 + IncrCount SQL 错误
- 修复 CSRF 403:移除 space/index.html 中手动设置 X-CSRF-Token 头(与 common.js 自动注入冲突导致 token 重复) - 修复按钮无样式:header.html 新增 ExtraCSS2 支持,space 页面加载 follow.css - 修复 IncrCount SQL 错误:follow_repo.go 中 users 表列名修正 id → uid
This commit is contained in:
@ -17,5 +17,8 @@
|
||||
{{if .ExtraCSS}}
|
||||
<link rel="stylesheet" href="{{.ExtraCSS}}?v={{assetV .ExtraCSS}}">
|
||||
{{end}}
|
||||
{{if .ExtraCSS2}}
|
||||
<link rel="stylesheet" href="{{.ExtraCSS2}}?v={{assetV .ExtraCSS2}}">
|
||||
{{end}}
|
||||
<script src="/shared/static/js/utils.js?v={{assetV "/shared/static/js/utils.js"}}"></script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user