diff --git a/Server/System/Statics.cs b/Server/System/Statics.cs index 452a928..06b8bda 100644 --- a/Server/System/Statics.cs +++ b/Server/System/Statics.cs @@ -6,10 +6,17 @@ namespace Server.System { public static class Statics { - public static readonly string SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=null;Database=project_thewar;"; - public static readonly string EXCEL_SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=null;Database=project_thewar;"; - public static readonly string remoteUrl = "https://manager:null@gitea.pandoli365.com/Team.thewar/thewar_excel.git"; - public static readonly Redis redis = new Redis("localhost", 6379, 1, "null"); +#if DEBUG + public static readonly string SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; + public static readonly string EXCEL_SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; + public static readonly string remoteUrl = "https://manager:BQNl01bJJF0wn9R@gitea.pandoli365.com/Team.thewar/thewar_excel.git"; + public static readonly Redis redis = new Redis("localhost", 6379, 1, "xPEz3x08xQ8G1Fa"); +#elif LIVE + public static readonly string SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; + public static readonly string EXCEL_SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; + public static readonly string remoteUrl = "https://manager:BQNl01bJJF0wn9R@gitea.pandoli365.com/Team.thewar/thewar_excel.git"; + public static readonly Redis redis = new Redis("192.168.1.2", 6379, 1, "xPEz3x08xQ8G1Fa"); +#endif public static readonly string URL = "https://0.0.0.0:4860";