We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63587e6 commit 9fca70aCopy full SHA for 9fca70a
api/link.js
@@ -49,6 +49,8 @@ export default function handler(request, response) {
49
50
parsedDir = parsedDir.join('/');
51
52
+ if (parsedDir.endsWith('/')) parsedDir = parsedDir.slice(0, -1);
53
+
54
title = parsedDir + ' on Codeit';
55
56
}
0 commit comments