Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: delete comments

shuai413c39184d37
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}`,