diff --git a/Marco.Pms.Services/Program.cs b/Marco.Pms.Services/Program.cs index 56cf41d..048ee27 100644 --- a/Marco.Pms.Services/Program.cs +++ b/Marco.Pms.Services/Program.cs @@ -220,6 +220,13 @@ FirebaseApp.Create(new AppOptions() Credential = GoogleCredential.FromFile(path), }); +string path = Path.Combine(builder.Environment.ContentRootPath, "FireBase", "service-account.json"); + +FirebaseApp.Create(new AppOptions() +{ + Credential = GoogleCredential.FromFile(path), +}); + var app = builder.Build(); #region ===================== HTTP Request Pipeline Configuration =====================