File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/programming/userService/controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ public ResponseEntity registerUser(@RequestBody AuthUser user) {
114114 }
115115
116116 private byte [] getDefaultAvatar () throws IOException {
117- // String defaultAvatarPath = "/app/images/avatar.png"; // Path inside the Docker container
118- String defaultAvatarPath = "src/main/java/com/programming/userService/images/avatar.png" ; // Path on local machine
117+ String defaultAvatarPath = "/app/images/avatar.png" ; // Path inside the Docker container
118+ // String defaultAvatarPath = "src/main/java/com/programming/userService/images/avatar.png"; // Path on local machine
119119 Path path = Paths .get (defaultAvatarPath );
120120 return Files .readAllBytes (path );
121121 }
You can’t perform that action at this time.
0 commit comments