Skip to content

Commit

Permalink
preconnectでバックエンドへの接続速度を上げる (#240)
Browse files Browse the repository at this point in the history
## Issue

- Github Issue: #239 

## 変更内容
APIサーバのドメインをpreconnectとして設定することで接続速度を上げる。

@coderabbitai: ignore
  • Loading branch information
takecchi authored Jan 19, 2024
1 parent 297fd35 commit ecbccd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/_meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function MetaHead({ metadata }: PageProps) {
))}
<link rel="shortcut icon" href="/icon.png" type="image/png" />
<link rel="apple-touch-icon" href="/apple-icon.png" type="image/png" />
<link rel="preconnect" href={process.env.NEXT_PUBLIC_CUCULUS_API_URL} />
</Head>
);
}

0 comments on commit ecbccd0

Please sign in to comment.