Skip to content

Commit

Permalink
hotfix: remove router prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewin committed Sep 8, 2017
1 parent aa190db commit 2ffe98e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
* @author littlewin([email protected])
*/

const router = require('koa-router')({
prefix: '/api'
})
const router = require('koa-router')()
const User = require('controllers/user')
const Category = require('controllers/category')
const Tag = require('controllers/tag')
Expand Down

0 comments on commit 2ffe98e

Please sign in to comment.