Skip to content

Commit b0daa9b

Browse files
committed
refactor: reorder calls in app.ts
1 parent 709416b commit b0daa9b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ const app = express(feathers());
1212
app.use(express.json());
1313
app.use(express.urlencoded({ extended: true }));
1414
app.use(express.static(__dirname));
15-
app.configure(express.rest());
16-
app.configure(socketio());
1715
app.use(express.errorHandler());
1816
app.use(cors());
17+
18+
app.configure(express.rest());
19+
app.configure(socketio());
1920
app.configure(services);
2021

2122

0 commit comments

Comments
 (0)