diff options
-rw-r--r-- | app.ts | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |