common: send more info in /version endpoint

This commit is contained in:
Abdullah Atta
2024-08-01 12:05:50 +05:00
parent cbd0c01d28
commit 5c1944d29f
4 changed files with 19 additions and 5 deletions
+1
View File
@@ -25,6 +25,7 @@ namespace Streetwriters.Common
{
public static bool IS_SELF_HOSTED => Environment.GetEnvironmentVariable("SELF_HOSTED") == "1";
public static bool DISABLE_ACCOUNT_CREATION => Environment.GetEnvironmentVariable("DISABLE_ACCOUNT_CREATION") == "1";
public static string INSTANCE_NAME => Environment.GetEnvironmentVariable("INSTANCE_NAME") ?? "default";
// S3 related
public static string S3_ACCESS_KEY => Environment.GetEnvironmentVariable("S3_ACCESS_KEY");