+
+ setCloudApiUrl(e.target.value)}
+ placeholder="https://api.example.com"
+ />
+
+
+ setCloudAppUrl(e.target.value)}
+ placeholder="https://app.example.com"
+ />
+
)}
>
)}
- {/*
- We do the harcoding here to avoid flickering when the default Cloud URL being fetched.
- I've tried to avoid harcoding api.jetkvm.com, but it's the only reasonable way I could think of to avoid flickering for now.
- */}
- {selectedUrlOption === (defaultCloudUrl || "https://api.jetkvm.com") && (
+ {/* Show security info for JetKVM Cloud */}
+ {selectedProvider === "jetkvm" && (