about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/lib/strings.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/strings.ts b/src/lib/strings.ts
index ea2a4dd9f..eaccb63a0 100644
--- a/src/lib/strings.ts
+++ b/src/lib/strings.ts
@@ -189,8 +189,8 @@ export function toShortUrl(url: string): string {
       (urlp.pathname === '/' ? '' : urlp.pathname) +
       urlp.search +
       urlp.hash
-    if (shortened.length > 20) {
-      return shortened.slice(0, 17) + '...'
+    if (shortened.length > 30) {
+      return shortened.slice(0, 27) + '...'
     }
     return shortened
   } catch (e) {