From ec09af54c71acaf1986713c72b1873b9fc4dcc6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=8C=90=EB=8F=8C?= Date: Tue, 11 Jun 2024 09:46:54 +0000 Subject: [PATCH] Update Server/System/Statics.cs --- Server/System/Statics.cs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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";