fix problems
All checks were successful
Xiaoshiliu / build (push) Successful in 3m39s

This commit is contained in:
lychang
2025-10-05 14:23:12 +08:00
parent eeb92fe0d1
commit 2a8d67e680

View File

@@ -158,7 +158,7 @@ router.post('/register', async (req, res) => {
}
// 获取用户User-Agent
const userAgent = req.headers['user-agent'] || '';
const defaultAvatar = new URL('@/assets/imgs/avatar.jpg', import.meta.url).href;
const defaultAvatar = "";
// 插入新用户密码使用SHA2哈希加密
const [result] = await pool.execute(