diff --git a/client/src/pages/config/users/restart.jsx b/client/src/pages/config/users/restart.jsx index c68aec9..6a843f5 100644 --- a/client/src/pages/config/users/restart.jsx +++ b/client/src/pages/config/users/restart.jsx @@ -46,7 +46,7 @@ const RestartModal = ({openModal, setOpenModal, config}) => { Refresh Page - You need to refresh the page to apply changes. {isNotDomain && 'You are not using a domain names, the server will be offline for a few seconds to remap your docker ports.'} + You need to refresh the page because you are using a self-signed certificate, in case you have to accept any new certificates. To avoid it in the future, please use Let's Encrypt. {isNotDomain && 'You are also not using a domain name, the server might go offline for a few seconds to remap your docker ports.'} diff --git a/package.json b/package.json index daaa005..b3bed0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cosmos-server", - "version": "0.9.0-unstable7", + "version": "0.9.0-unstable8", "description": "", "main": "test-server.js", "bugs": { diff --git a/src/httpServer.go b/src/httpServer.go index c20e98e..8d1928a 100644 --- a/src/httpServer.go +++ b/src/httpServer.go @@ -413,6 +413,7 @@ func StartServer() { } func RestartServer() { + utils.LetsEncryptErrors = []string{} utils.Log("Restarting HTTP Server...") LoadConfig()