Skip to content

Commit

Permalink
Merge pull request #53 from ClothingStoreService/feature/CICD-modify-…
Browse files Browse the repository at this point in the history
…and-test

chore: deploy 수정
  • Loading branch information
hjj4060 authored Jun 11, 2024
2 parents d26e6df + 9d5fd36 commit f4019fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ fi

DEPLOY_JAR=$DEPLOY_PATH$JAR_NAME
echo "> DEPLOY_JAR 배포" >> /home/ubuntu/action/deploy.log
sudo nohup java -jar "$DEPLOY_JAR" >> /home/ubuntu/deploy.log 2>/home/ubuntu/action/deploy_err.log &
sudo nohup java -jar ${JAR_DEV_ENV} "$DEPLOY_JAR" >> /home/ubuntu/deploy.log 2>/home/ubuntu/action/deploy_err.log &
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.formLogin(AbstractHttpConfigurer::disable);

http.authorizeHttpRequests((auth) -> auth
.requestMatchers("/", "/login", "/userPage", "/sellerPage", "/adminPage"
.requestMatchers("/", "/login", "/userPage", "/sellerPage", "/adminPage", "/main"
, "/v1/login", "/signup", "/v1/members/email/**", "/v1/access",
"/v1/categories/**", "/v1/products/**", "/v1/productLines/**", "/v2/productLines/**",
"/v1/orderdetails", "/v1/orders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
@Tag(name = "index", description = "회원가입, 로그인, 로그아웃 기능과 user, seller, admin 페이지로 이동하기 위한 API 입니다.")
@Controller
public class MemberViewController {
@GetMapping("/main")
public String main() {
return "index";
}

@GetMapping("/signup")
public String signup() {
return "signup";
Expand Down

0 comments on commit f4019fa

Please sign in to comment.