(str: string)
| 9 | import { createAccessToken } from '../utils/tokens.js'; |
| 10 | |
| 11 | const trimTrailingSlash = (str: string) => |
| 12 | str.endsWith('/') ? str.slice(0, -1) : str; |
| 13 | |
| 14 | async function handleRedirects(req: FastifyRequest, reply: FastifyReply) { |
| 15 | const params = getRedirectParams(req); |