-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
api clientAny thing to do with the API ClientAny thing to do with the API ClientbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
The following
{
'/quiz/:slug': '/quiz?slug=:slug'
}
in
server.use(jsonServer.rewriter({
'/quiz/:slug': '/quiz?slug=:slug'
}))
should be replaced by the routes.json
file.
An attempt was made to use path.join(__dirname, 'routes.json'),
as the first argument to jsonServer.rewriter
but this did not work.
Metadata
Metadata
Assignees
Labels
api clientAny thing to do with the API ClientAny thing to do with the API ClientbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed