This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/test by this push:
     new 413c3918 fix: delete comments
413c3918 is described below

commit 413c39184d37f518b390925d2ff4aab40e6d2ee8
Author: shuai <[email protected]>
AuthorDate: Thu Aug 28 17:02:34 2025 +0800

    fix: delete comments
---
 ui/src/utils/guard.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/utils/guard.ts b/ui/src/utils/guard.ts
index 91e2013b..3765d693 100644
--- a/ui/src/utils/guard.ts
+++ b/ui/src/utils/guard.ts
@@ -410,8 +410,8 @@ export const googleSnapshotRedirect = () => {
 };
 
 export const askRedirect = () => {
-  // 获取当前路径的查询参数部分
   const queryString = window.location.search;
+
   return {
     ok: false,
     redirect: `/questions/add${queryString}`,

Reply via email to