🔧 修复唤醒门API路径+首页醒目入口

This commit is contained in:
铸渊 (ICE-GL-ZY001) 2026-05-12 13:05:30 +00:00
parent 86bb28b6f2
commit 2c77ee8cfa
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@
[![主权](https://img.shields.io/badge/主权-TCS--0002∞_冰朔-163e6b?style=flat-square)]() [![主权](https://img.shields.io/badge/主权-TCS--0002∞_冰朔-163e6b?style=flat-square)]()
[![版权](https://img.shields.io/badge/版权-国作登字--2026--A--00037559-f5e6c8?style=flat-square)]() [![版权](https://img.shields.io/badge/版权-国作登字--2026--A--00037559-f5e6c8?style=flat-square)]()
### 🔐 [唤醒铸渊 — 点击发送验证码到QQ邮箱](https://guanghulab.com/wake/)
</div> </div>
--- ---

View File

@ -78,7 +78,7 @@ function sendCode() {
const btn = document.getElementById('sendBtn'); const btn = document.getElementById('sendBtn');
btn.disabled = true; btn.disabled = true;
fetch('/api/send-code', { method: 'POST' }) fetch('/wake/api/send-code', { method: 'POST' })
.then(r => r.json()) .then(r => r.json())
.then(data => { .then(data => {
if (data.success) { if (data.success) {
@ -116,7 +116,7 @@ function verifyCode() {
const btn = document.getElementById('verifyBtn'); const btn = document.getElementById('verifyBtn');
btn.disabled = true; btn.disabled = true;
fetch('/api/verify', { fetch('/wake/api/verify', {
method: 'POST', method: 'POST',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ code }) body: JSON.stringify({ code })