diff --git a/src/components/collection/CollectionModal.tsx b/src/components/collection/CollectionModal.tsx index e486f33..945577b 100644 --- a/src/components/collection/CollectionModal.tsx +++ b/src/components/collection/CollectionModal.tsx @@ -9,7 +9,6 @@ import { ICollection } from '@/types/ICollection.ts'; import getImageUrl from '@/utils/getImageUrl.ts'; import { Link } from 'react-router-dom'; import ShareModal from '#/common/ShareModal.tsx'; -import { getBasePath } from '@/utils/getBaseUrl.ts'; import stopVideo from '@/utils/stopVideo.ts'; const StyledTitle = styled.h2` @@ -235,7 +234,7 @@ const CollectionModal: React.FC = ( {t('download')} )} - + ); diff --git a/src/utils/getBaseUrl.ts b/src/utils/getBaseUrl.ts deleted file mode 100644 index fb443d3..0000000 --- a/src/utils/getBaseUrl.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const getBasePath = () => { - if (window.location.hostname === 'localhost') { - return window.location.origin; - } else { - return `${window.location.origin}/cloudtown-website`; - } -};