Skip to content

Commit a4a4622

Browse files
committed
fix: change route in app.use from app.js file
1 parent 438b591 commit a4a4622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

movies-app-backend/src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ app.use(express.json())
2020
app.use(express.urlencoded({ extended: false }))
2121

2222
// Routes
23-
app.use('/', routes)
23+
app.use('/api', routes)
2424

2525
// Error handler
2626
app.use(errorHandler)

0 commit comments

Comments
 (0)