Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Make links even shorter

Luke Vellaaefc7cc29826
diff --git a/components/poll/truncated-linkify.tsx b/components/poll/truncated-linkify.tsx
index bfe63ecba..083864357 100644
--- a/components/poll/truncated-linkify.tsx
+++ b/components/poll/truncated-linkify.tsx
@@ -7,7 +7,7 @@ export const truncateLink = (href: string, text: string, key: number) => {
const beginningOfPath = textWithoutProtocol.indexOf("/");
let finalText = textWithoutProtocol;
if (beginningOfPath !== -1) {
- finalText = textWithoutProtocol.substring(0, beginningOfPath + 30);
+ finalText = textWithoutProtocol.substring(0, beginningOfPath + 15);
}
if (finalText.length === textWithoutProtocol.length) {
return (