feat: 双端口(首页80/后台16888) + WebSocket轮播 + 展示时间限制

This commit is contained in:
yinzhou.ma
2026-07-16 23:01:43 +08:00
parent 42aeb84c64
commit 9316422ef1
7 changed files with 135 additions and 98 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function() {
if (data.success) {
localStorage.setItem('token', data.token);
window.location.href = '/admin';
window.location.href = '/';
} else {
errorDiv.textContent = data.error;
errorDiv.style.display = 'block';