Skip to content

Commit

Permalink
Fix endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanmoroziuk committed Aug 7, 2019
1 parent 8f846de commit 5f51e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mongoose
app.use(express.json());
app.use(express.urlencoded({ extended: false }));

app.use('/api/item', ItemRouter);
app.use('/api/items', ItemRouter);
app.use('/api/user', UserRouter);

app.listen(port, () => {
Expand Down

0 comments on commit 5f51e95

Please sign in to comment.