diff --git a/server/index.js b/server/index.js index f67d5d6..847d3a4 100644 --- a/server/index.js +++ b/server/index.js @@ -7,7 +7,7 @@ app.use(cors()) const posts = require('./routes/api/posts') -app.use('/api/posts', posts) +app.use('/posts', posts) const port = process.env.PORT || 5000