feat(api): add trailing slash to v5/issues/:hostname

This commit is contained in:
wanhose 2024-10-15 16:04:10 +02:00
parent abf972c658
commit 4b4ab1884d

View File

@ -12,7 +12,7 @@ type GetIssuesParams = yup.InferType<typeof GetIssuesParamsSchema>;
export default (server: FastifyInstance, _options: RouteShorthandOptions, done: () => void) => {
server.get<{ Params: GetIssuesParams }>(
'/issues/:hostname',
'/issues/:hostname/',
{
config: {
rateLimit: RATE_LIMIT_10_PER_MIN,