Skip to content

Conversation

@TkymHrt
Copy link
Member

@TkymHrt TkymHrt commented Jun 4, 2024

対応Issue

resolve #768

概要

  • 500エラーページの作成
    • サーバーエラーのページの作成
    • FinanSuライクな感じでお願いします

画面スクリーンショット等

PC表示 モバイル表示
FireShot Capture 007 -  - localhost FireShot Capture 008 -  - localhost

テスト項目

開発時はデフォルトのエラーが表示されるため、docker-compose.ymlの変更が必要です。npm run build && npm run start

export async function getServerSideProps() {
  throw new Error('サーバーエラー');
}

上記のようなコードをindex.tsxなどに入れてページへアクセスする。

  • 500エラーページが表示される。

@TkymHrt TkymHrt self-assigned this Jun 4, 2024
Copy link
Collaborator

@Kubosaka Kubosaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kubosaka Kubosaka merged commit 1f1b939 into develop Jun 5, 2024
@Kubosaka Kubosaka deleted the feat/yama/768-Create-500-Page branch June 5, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

500ページの作成

3 participants