File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
aics-api/src/main/java/kgu/developers/api/post/presentation/response
aics-common/src/main/java/kgu/developers/common/config Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public static PostSummaryResponse from(Post post) {
4343 DateTimeFormatter formatter = DateTimeFormatter .ofPattern ("yyyy-MM-dd" );
4444
4545 String content = post .getContent ();
46- String description = content .length () > 30 ? content .substring (0 , 30 ) : content ;
46+ String description = content .length () > 80 ? content .substring (0 , 80 ) : content ;
4747
4848 return PostSummaryResponse .builder ()
4949 .postId (post .getId ())
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
8282 "/api/v1/posts/**" ,
8383 "/api/v1/labs" ,
8484 "/api/v1/comments" ,
85+ "/api/v1/carousels" ,
8586 };
8687
8788 CorsConfigurationSource corsConfigurationSource () {
You can’t perform that action at this time.
0 commit comments