Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static App の URL がアップデートできなかったバグを修正 #984

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

cp-20
Copy link
Contributor

@cp-20 cp-20 commented Dec 13, 2024

なぜやるか

バグ修正

やったこと

h2c (= false) と httpPort (= 80) のデフォルト値を送信するように

やらなかったこと

N/A

資料

N/A

Copy link

Preview (prod backend + PR dashboard) → https://984.ns-preview.trapti.tech/

@cp-20 cp-20 enabled auto-merge December 13, 2024 06:11
@cp-20 cp-20 merged commit f57e370 into main Dec 13, 2024
10 checks passed
@cp-20 cp-20 deleted the fix/update-website-url branch December 13, 2024 06:18
// Static App ではフォームに表示されないので undefined になってしまう
// そのままだと invalid になって設定を変更できないのでデフォルト値を設定する
h2c: v.pipe(
v.optional(v.boolean()),
Copy link
Contributor

Choose a reason for hiding this comment

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

レビュータイミング逃しちゃった ごめん 🙇
v.optional()の第二引数でデフォルト値を指定できる( https://valibot.dev/api/optional/ )のでv.optional(v.boolean(), false)って書けるかもです

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.

2 participants