diff --git a/lib/repository/user.js b/lib/repository/user.js index 669bec7..980688a 100644 --- a/lib/repository/user.js +++ b/lib/repository/user.js @@ -60,7 +60,7 @@ class UserRepository if (count == 0) { - self.addUser(new User({ + self.insert(new User({ username: 'admin', name: 'Administrator', password: 'changeme', diff --git a/public/src/index.html b/public/src/index.html index 5f962a1..a537ea9 100644 --- a/public/src/index.html +++ b/public/src/index.html @@ -3,6 +3,7 @@ + Recv