mirror of https://github.com/jetkvm/kvm.git
Compare commits
3 Commits
cd6ae28595
...
aca3f3352d
Author | SHA1 | Date |
---|---|---|
|
aca3f3352d | |
|
960f555790 | |
|
2861df3c17 |
|
@ -60,8 +60,10 @@ export default function DashboardNavbar({
|
|||
<div className="flex h-14 items-center justify-between">
|
||||
<div className="flex shrink-0 items-center gap-x-8">
|
||||
<div className="inline-block shrink-0">
|
||||
<img src={LogoBlueIcon} alt="" className="h-[24px] dark:hidden" />
|
||||
<img src={LogoWhiteIcon} alt="" className="hidden h-[24px] dark:block" />
|
||||
<a href="https://jetkvm.com/" target="_blank" rel="norefferer noreferrer" title="Learn more about JetKVM">
|
||||
<img src={LogoBlueIcon} alt="" className="h-[24px] dark:hidden" />
|
||||
<img src={LogoWhiteIcon} alt="" className="hidden h-[24px] dark:block" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div className="flex gap-x-2">
|
||||
|
|
|
@ -108,6 +108,9 @@ func setTLSState(s TLSState) error {
|
|||
isChanged = true
|
||||
}
|
||||
// parse pem to cert and key
|
||||
if certStore == nil {
|
||||
initCertStore()
|
||||
}
|
||||
err, _ := certStore.ValidateAndSaveCertificate(webSecureCustomCertificateName, s.Certificate, s.PrivateKey, true)
|
||||
// warn doesn't matter as ... we don't know the hostname yet
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue