mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-07-07 21:07:29 +08:00
2 lines
74 B
TypeScript
2 lines
74 B
TypeScript
export const allowTrailingSlash = (url: string) => RegExp(url + '[/]?$');
|