v0.1.2 Bug Fixes
This commit is contained in:
parent
20d0054d47
commit
4cc41b27ee
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
[![DiscordLink](https://img.shields.io/discord/1083875833824944188?label=Discord&logo=Discord&style=flat-square)](https://discord.gg/PwMWwsrwHA) ![CircleCI](https://img.shields.io/circleci/build/github/azukaar/Cosmos-Server?token=6efd010d0f82f97175f04a6acf2dae2bbcc4063c&style=flat-square)
|
[![DiscordLink](https://img.shields.io/discord/1083875833824944188?label=Discord&logo=Discord&style=flat-square)](https://discord.gg/PwMWwsrwHA) ![CircleCI](https://img.shields.io/circleci/build/github/azukaar/Cosmos-Server?token=6efd010d0f82f97175f04a6acf2dae2bbcc4063c&style=flat-square)
|
||||||
|
|
||||||
Cosmos is a self-hosted platform for running server applications securely and with built-in privacy features. It acts as a secure gateway to your application, as well as a server manager. It aims to solve the increasingly worrying problem of vulnerable self-hosted applications and personnal servers.
|
Cosmos is a self-hosted platform for running server applications securely and with built-in privacy features. It acts as a secure gateway to your application, as well as a server manager. It aims to solve the increasingly worrying problem of vulnerable self-hosted applications and personal servers.
|
||||||
|
|
||||||
![screenshot1](./screenshot1.png)
|
![screenshot1](./screenshot1.png)
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ func checkVersion() {
|
||||||
|
|
||||||
myVersion := version.Version
|
myVersion := version.Version
|
||||||
|
|
||||||
response, err := http.Get("https://comos-technologies.com/versions/" + myVersion)
|
response, err := http.Get("https://cosmos-cloud.io/versions/" + myVersion)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
utils.Error("checkVersion", err)
|
utils.Error("checkVersion", err)
|
||||||
return
|
return
|
||||||
|
|
|
@ -95,8 +95,8 @@ func LoadBaseMainConfig(config Config){
|
||||||
if os.Getenv("COSMOS_HOSTNAME") != "" {
|
if os.Getenv("COSMOS_HOSTNAME") != "" {
|
||||||
MainConfig.HTTPConfig.Hostname = os.Getenv("COSMOS_HOSTNAME")
|
MainConfig.HTTPConfig.Hostname = os.Getenv("COSMOS_HOSTNAME")
|
||||||
}
|
}
|
||||||
if os.Getenv("COSMOS_GENERATE_MISSING_TLS_CERT") != "" {
|
if os.Getenv("COSMOS_HTTPS_MODE") != "" {
|
||||||
MainConfig.HTTPConfig.HTTPSCertificateMode = os.Getenv("COSMOS_HTTPSCertificateMode")
|
MainConfig.HTTPConfig.HTTPSCertificateMode = os.Getenv("COSMOS_HTTPS_MODE")
|
||||||
}
|
}
|
||||||
if os.Getenv("COSMOS_GENERATE_MISSING_AUTH_CERT") != "" {
|
if os.Getenv("COSMOS_GENERATE_MISSING_AUTH_CERT") != "" {
|
||||||
MainConfig.HTTPConfig.GenerateMissingAuthCert = os.Getenv("COSMOS_GENERATE_MISSING_AUTH_CERT") == "true"
|
MainConfig.HTTPConfig.GenerateMissingAuthCert = os.Getenv("COSMOS_GENERATE_MISSING_AUTH_CERT") == "true"
|
||||||
|
|
Loading…
Reference in a new issue