Fix #3
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ app.use(cors())
|
|||||||
|
|
||||||
const posts = require('./routes/api/posts')
|
const posts = require('./routes/api/posts')
|
||||||
|
|
||||||
app.use('/api/posts', posts)
|
app.use('/posts', posts)
|
||||||
|
|
||||||
const port = process.env.PORT || 5000
|
const port = process.env.PORT || 5000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user