27 lines
1.3 KiB
C#
27 lines
1.3 KiB
C#
namespace QMax.Api.Configuration;
|
|
|
|
public sealed class QMaxOptions
|
|
{
|
|
public string PublicBaseUrl { get; set; } = "https://qmax.kusoft.xyz";
|
|
public string DatabasePath { get; set; } = "data/qmax.db";
|
|
public string StoragePath { get; set; } = "data/storage";
|
|
public string JwtIssuer { get; set; } = "QMAX";
|
|
public string JwtAudience { get; set; } = "QMAX.Android";
|
|
public string JwtSecret { get; set; } = "";
|
|
public string PairingCode { get; set; } = "";
|
|
public string MaxPhoneNumber { get; set; } = "";
|
|
public string MaxMode { get; set; } = "Worker";
|
|
public string MaxWorkerBaseUrl { get; set; } = "http://qmax-max-worker:3001";
|
|
public string MaxUserDataPath { get; set; } = "data/max-profile";
|
|
public bool MaxHeadless { get; set; } = true;
|
|
public int MaxPollIntervalSeconds { get; set; } = 6;
|
|
public long MaxUploadBytes { get; set; } = 25L * 1024 * 1024;
|
|
public string CorsAllowedOrigins { get; set; } = "";
|
|
public string ReleasesPath { get; set; } = "data/releases";
|
|
public bool PushEnabled { get; set; } = true;
|
|
public bool PushShowPreview { get; set; } = true;
|
|
public string FirebaseProjectId { get; set; } = "";
|
|
public string FirebaseServiceAccountPath { get; set; } = "";
|
|
public string FirebaseServiceAccountJson { get; set; } = "";
|
|
}
|