File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export function Settings({
85
85
fieldId = "rekor-endpoint-override"
86
86
>
87
87
< TextInput
88
- value = { localBaseUrl ?? "" }
88
+ value = { localBaseUrl ?? "https://rekor.sigstore.dev " }
89
89
type = "text"
90
90
onChange = { handleChangeBaseUrl }
91
91
placeholder = {
Original file line number Diff line number Diff line change @@ -116,8 +116,10 @@ export default PageComponent;
116
116
export async function getServerSideProps ( ) {
117
117
return {
118
118
props : {
119
- NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN :
120
- process . env . NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN ,
121
- } , // will be passed to the page component as props
119
+ NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN : process . env
120
+ . NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN
121
+ ? process . env . NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN
122
+ : null ,
123
+ } , // gets passed to the page component as props
122
124
} ;
123
125
}
You can’t perform that action at this time.
0 commit comments