mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
2 lines
74 B
TypeScript
2 lines
74 B
TypeScript
export const allowTrailingSlash = (url: string) => RegExp(url + '[/]?$');
|