Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: jar에서 File 시스템이 아닌 InputStream으로 파일을 읽을 수 있도록 함 #65

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public NetworkConfig(@Value("${spring.profiles.active:default}") String profile,

//JSON 파일 읽기
try {
map = mapper.readValue(resource.getFile(), Map.class);
map = mapper.readValue(resource.getInputStream(), Map.class);
} catch (IOException e) {
throw new RuntimeException(jsonPath + " 로드 실패");
}
Expand Down