diff --git a/scripts/start.sh b/scripts/start.sh index 9771cf6..010bdab 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -19,7 +19,7 @@ cp $PROJECT_ROOT/build/libs/*.jar $JAR_FILE echo "$TIME_NOW > $JAR_FILE 파일 실행" >> $DEPLOY_LOG nohup sudo java -jar \ - -Dspring.config.location=/home/ubuntu/app/application.yml, /home/ubuntu/app/application-jwt.yml, /home/ubuntu/app/application-oauth.yml \ + -Dspring.config.location=/home/ubuntu/app/application.yml \ -Duser.timezone=Asia/Seoul\ $JAR_FILE > $APP_LOG 2> $ERROR_LOG & diff --git a/src/main/java/com/trendithon/timetris/global/auth/jwt/TokenProvider.java b/src/main/java/com/trendithon/timetris/global/auth/jwt/TokenProvider.java index 8c46998..24cc606 100644 --- a/src/main/java/com/trendithon/timetris/global/auth/jwt/TokenProvider.java +++ b/src/main/java/com/trendithon/timetris/global/auth/jwt/TokenProvider.java @@ -23,7 +23,6 @@ @Slf4j @Configuration @Getter -@PropertySource("classpath:/application-jwt.yml") public class TokenProvider {