diff --git a/admin-core/src/main/resources/templates/index.html b/admin-core/src/main/resources/templates/index.html
index 5a4ae894..2cfca9e6 100644
--- a/admin-core/src/main/resources/templates/index.html
+++ b/admin-core/src/main/resources/templates/index.html
@@ -415,7 +415,7 @@
                 if (ret.code == 0 || ret.code == 401) {
                     Common.info("退出成功!");
                     Common.awaitTime(1200, function () {
-                        window.location.href = host + ('${profile!}' === 'prod' ? '${studentTeacherURL}' : '/server');
+                        window.location.href = ('${profile!}' === 'prod' ? '/' : '/server');
                     });
                 }
             });