From 2828464a7cf93a35940d36dede01b010a4d73cdb Mon Sep 17 00:00:00 2001 From: matthew Date: Mon, 3 Oct 2022 23:37:20 +0400 Subject: [PATCH] fix urls --- searching-front/app/core/helpers/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searching-front/app/core/helpers/common.ts b/searching-front/app/core/helpers/common.ts index eb208df..6390da3 100644 --- a/searching-front/app/core/helpers/common.ts +++ b/searching-front/app/core/helpers/common.ts @@ -2,7 +2,7 @@ import classnames from "classnames" export const cn = classnames export const cleanUrlForUi = (url: string) => { - return url.replace("https://", "").replace("http://", "").replace("/", "") + return url.replace("https://", "").replace("http://", "") } export const isNode = () => {