From 18f58b97b5d55f3a0a9090fbdb5acc42a593ca1b Mon Sep 17 00:00:00 2001 From: Bagas Date: Sun, 17 Oct 2021 16:26:15 +0700 Subject: [PATCH] Update ResultBox.tsx --- frontend/modules/components/ResultBox/ResultBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/components/ResultBox/ResultBox.tsx b/frontend/modules/components/ResultBox/ResultBox.tsx index d911b13a..5d81b6d3 100644 --- a/frontend/modules/components/ResultBox/ResultBox.tsx +++ b/frontend/modules/components/ResultBox/ResultBox.tsx @@ -3,7 +3,7 @@ import { ExternalLinkIcon } from "@chakra-ui/icons"; import { ResultBoxProps } from "./types"; const ResultBox = (props: ResultBoxProps) => { - const ristekLink = `https://ristek.link/${props.alias}`; + const ristekLink = `${window.location.origin}/${props.alias}`; if (props.isLoading) { return (