feat: 双端口(首页80/后台16888) + WebSocket轮播 + 展示时间限制
This commit is contained in:
+1
-1
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user