Skip to content

Commit

Permalink
Fix incorrect domain
Browse files Browse the repository at this point in the history
  • Loading branch information
SAPikachu committed May 15, 2024
1 parent d1f49be commit fc22d93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ import { SentryErrorBoundary } from "./utils/sentry";

import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import Conf from "./utils/conf";
dayjs.extend(utc);

if (location.host === "amae-koromo.vercel.app") {
location.href = "https://" + Conf.canonicalDomain;
}

const rootElement = document.getElementById("root");
render(
<SentryErrorBoundary>
Expand Down

0 comments on commit fc22d93

Please sign in to comment.