diff --git a/src/server.js b/src/server.js
index <HASH>..<HASH> 100644
--- a/src/server.js
+++ b/src/server.js
@@ -107,7 +107,7 @@ class Server {
   }
 
   use(...args) {
-    if (args.length === 1 && args[0] instanceof Resource) {
+    if (args[0] instanceof Resource) {
       this._resources.push(args[0]);
       return;
     }
fix(core): remove args length check, because it will get mistake in map function.