Skip to content

Commit

Permalink
Merge pull request #239 from JNU-econovation/revert-238-develop
Browse files Browse the repository at this point in the history
Revert "운영 환경에 적용"
  • Loading branch information
LJH098 authored Aug 31, 2024
2 parents 7a8c648 + b6d7af2 commit 4c7d9a2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- develop
- backend
env:
SPRING_PROFILES_ACTIVE: local
ENVIRONMENT: production
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public void addCorsMappings(CorsRegistry registry) {
if (!springEnvironmentHelper.isProdProfile()) {
allowedOriginPatterns.add("http://localhost:3000");
allowedOriginPatterns.add("http://localhost:6379");
allowedOriginPatterns.add("http://211.188.51.50");
}
String[] patterns = allowedOriginPatterns.toArray(String[]::new);
registry.addMapping("/**")
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion server/Recruit-Api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:
id: ${ADMINISTRATOR_ID:admin}
password: ${ADMINISTRATOR_PASSWORD:password}
server:
port: ${SERVER_PORT:10023}
port: ${SERVER_PORT:8080}
throttle:
greedyRefill: ${THROTTLE_GREEDY_REFILL:10}
overdraft: ${THROTTLE_OVERDRAFT:10}
Expand Down

0 comments on commit 4c7d9a2

Please sign in to comment.