diff --git a/src/runtime/utils/formatter.ts b/src/runtime/utils/formatter.ts index af97bb7..6ac441d 100644 --- a/src/runtime/utils/formatter.ts +++ b/src/runtime/utils/formatter.ts @@ -1,6 +1,6 @@ export function trimTrailingSlash(path: string): string { if (path.length > 1 && path.slice(-1) === '/') { - return path.slice(0, -1); + return path.slice(0, -1) } - return path; + return path }