resolving the rebase errors
This commit is contained in:
parent
0ba2874041
commit
37c91d4432
@ -202,6 +202,13 @@ builder.Services.AddScoped<ExpenseCache>();
|
|||||||
|
|
||||||
// Singleton services (one instance for the app's lifetime)
|
// Singleton services (one instance for the app's lifetime)
|
||||||
builder.Services.AddSingleton<ILoggingService, LoggingService>();
|
builder.Services.AddSingleton<ILoggingService, LoggingService>();
|
||||||
|
|
||||||
|
string path = Path.Combine(builder.Environment.ContentRootPath, "FireBase", "service-account.json");
|
||||||
|
|
||||||
|
FirebaseApp.Create(new AppOptions()
|
||||||
|
{
|
||||||
|
Credential = GoogleCredential.FromFile(path),
|
||||||
|
});
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Web Server (Kestrel)
|
#region Web Server (Kestrel)
|
||||||
@ -213,20 +220,6 @@ builder.WebHost.ConfigureKestrel(options =>
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
string path = Path.Combine(builder.Environment.ContentRootPath, "FireBase", "service-account.json");
|
|
||||||
|
|
||||||
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();
|
var app = builder.Build();
|
||||||
|
|
||||||
#region ===================== HTTP Request Pipeline Configuration =====================
|
#region ===================== HTTP Request Pipeline Configuration =====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user