Skip to content

Commit

Permalink
Merge pull request #16 from Rogermax/master
Browse files Browse the repository at this point in the history
Fix #15
  • Loading branch information
cdimascio authored Nov 30, 2018
2 parents ee94de7 + cff1a8e commit 00dc783
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Controller {
ExamplesService.create(req.body.name).then(r =>
res
.status(201)
.location(`/api/v1/examples/${r.id}`)
.location(`<%= apiRoot %>/examples/${r.id}`)
.json(r),
);
}
Expand Down

0 comments on commit 00dc783

Please sign in to comment.