Skip to content

Commit 3fe4e70

Browse files
committed
refactor(chatroom): 移除生成金属页面的登录检查
- 删除了与生成金属页面相关的登录检查逻辑 - 简化了路由注册,移除了不必要的登录检查引用
1 parent 7bfa46c commit 3fe4e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/b3log/symphony/processor/ChatroomProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public static void register() {
218218
Dispatcher.get("/chat-room/node/get", chatroomProcessor::getNode, loginCheck::handle);
219219
Dispatcher.post("/chat-room/node/push", chatroomProcessor::nodePush);
220220

221-
Dispatcher.get("/gen", chatroomProcessor::genMetal, loginCheck::handle);
221+
Dispatcher.get("/gen", chatroomProcessor::genMetal);
222222
}
223223

224224
public static Map<String, String> metalCache = Collections.synchronizedMap(new LinkedHashMap<String, String>() {

0 commit comments

Comments
 (0)