|
@@ -22,7 +22,7 @@ public class UserService {
|
|
|
|
|
|
@PostConstruct
|
|
|
public void loadUsers() throws IOException {
|
|
|
- List<String> strings = FileUtil.readLines(userResources.getFile(), "utf-8");
|
|
|
+ List<String> strings = FileUtil.readLines(userResources.getURL(), "utf-8");
|
|
|
JSONArray jsonArray = JSONUtil.parseArray(String.join("", strings));
|
|
|
this.users = JSONUtil.toList(jsonArray, User.class);
|
|
|
for (User user : users) {
|