Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kwondongwook authored Dec 22, 2023
2 parents 51c0373 + 08fcbd4 commit a4f2352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/api/trip/TripApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class TripApplication {
public class TripApplication {

public static void main(String[] args) {
SpringApplication.run(TripApplication.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo

private static String createCookie(String name, String value) {
return ResponseCookie.from(name, value)
.domain("localhost")
.path("/")
.httpOnly(true)
.maxAge(60 * 60 * 6)
Expand Down

0 comments on commit a4f2352

Please sign in to comment.