feat(api): add trailing slash to v5/issues/:hostname
This commit is contained in:
parent
abf972c658
commit
4b4ab1884d
@ -12,7 +12,7 @@ type GetIssuesParams = yup.InferType<typeof GetIssuesParamsSchema>;
|
|||||||
|
|
||||||
export default (server: FastifyInstance, _options: RouteShorthandOptions, done: () => void) => {
|
export default (server: FastifyInstance, _options: RouteShorthandOptions, done: () => void) => {
|
||||||
server.get<{ Params: GetIssuesParams }>(
|
server.get<{ Params: GetIssuesParams }>(
|
||||||
'/issues/:hostname',
|
'/issues/:hostname/',
|
||||||
{
|
{
|
||||||
config: {
|
config: {
|
||||||
rateLimit: RATE_LIMIT_10_PER_MIN,
|
rateLimit: RATE_LIMIT_10_PER_MIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user