Skip to content

Commit 17a3db5

Browse files
authored
[#681] [fix] 프로필을 작성하지 않은 사용자가 모임 생성하지 못하도록 수정 (#682)
1 parent 15a993e commit 17a3db5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/middleware.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ const REDIRECT_SEARCH_KEY = SEARCH_PARAMS_KEYS.REDIRECT_PATHNAME;
2222
const EXCLUDE_AUTH_HEADER_API = ['/api/auth/token'];
2323

2424
// 추가 프로필 등록이 반드시 필요한 path
25-
const NEED_PROFILE_PATHS = ['/bookarchive', '/profile/me', '/profile/me/edit'];
25+
const NEED_PROFILE_PATHS = [
26+
'/bookarchive',
27+
'/profile/me',
28+
'/profile/me/edit',
29+
'/group/create',
30+
];
2631

2732
export const config = {
2833
matcher: [

0 commit comments

Comments
 (0)