[release] v0.9.0-unstable12

This commit is contained in:
Yann Stepienik 2023-07-04 12:13:52 +01:00
parent d96d1aecd0
commit bba2b59816
2 changed files with 4 additions and 4 deletions

View file

@ -40,8 +40,8 @@ const RestartModal = ({openModal, setOpenModal, config, newRoute }) => {
const needsRefresh = config && (config.HTTPConfig.HTTPSCertificateMode == "SELFSIGNED" || const needsRefresh = config && (config.HTTPConfig.HTTPSCertificateMode == "SELFSIGNED" ||
!isDomain(config.HTTPConfig.Hostname)) !isDomain(config.HTTPConfig.Hostname))
const isNotDomain = config && !isDomain(config.HTTPConfig.Hostname); const isNotDomain = config && !isDomain(config.HTTPConfig.Hostname);
const newRouteWarning = config && (config.HTTPConfig.HTTPSCertificateMode == "LETSENCRYPT" && newRoute && let newRouteWarning = config && (config.HTTPConfig.HTTPSCertificateMode == "LETSENCRYPT" && newRoute &&
!config.HTTPConfig.DNSChallengeProvider); (!config.HTTPConfig.DNSChallengeProvider || !config.HTTPConfig.UseWildcardCertificate))
return config ? (<> return config ? (<>
{needsRefresh && <> {needsRefresh && <>
@ -64,7 +64,7 @@ const RestartModal = ({openModal, setOpenModal, config, newRoute }) => {
<DialogTitle>Certificate Renewal</DialogTitle> <DialogTitle>Certificate Renewal</DialogTitle>
<DialogContent> <DialogContent>
<DialogContentText> <DialogContentText>
You are using Let's Encrypt but you are not using the DNS Challenge. This means the server has to renew the certificate everytime you add a new hostname, causing a few seconds of downtime. To avoid it in the future, please use the DNS Challenge. You are using Let's Encrypt but you are not using the DNS Challenge with a wildcard certificate. This means the server has to renew the certificate everytime you add a new hostname, causing a few seconds of downtime. To avoid it in the future, please refer to <a target="_blank" rel="noopener noreferrer" href="https://cosmos-cloud.io/doc/9%20Other%20Setups/#dns-challenge-and-wildcard-certificates">this link to the documentation</a>.
</DialogContentText> </DialogContentText>
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>

View file

@ -1,6 +1,6 @@
{ {
"name": "cosmos-server", "name": "cosmos-server",
"version": "0.9.0-unstable11", "version": "0.9.0-unstable12",
"description": "", "description": "",
"main": "test-server.js", "main": "test-server.js",
"bugs": { "bugs": {