aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/app.ts b/app.ts
index c4fb0e6..4b5ac3b 100644
--- a/app.ts
+++ b/app.ts
@@ -12,10 +12,11 @@ const app = express(feathers());
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.use(express.static(__dirname));
-app.configure(express.rest());
-app.configure(socketio());
app.use(express.errorHandler());
app.use(cors());
+
+app.configure(express.rest());
+app.configure(socketio());
app.configure(services);