deploy
This commit is contained in:
@@ -8,7 +8,10 @@ using AipsRT.Services.Interfaces;
|
||||
using DotNetEnv;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
Env.Load("../../.env");
|
||||
if (File.Exists("../../.env"))
|
||||
{
|
||||
Env.Load("../../.env");
|
||||
}
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
@@ -3,7 +3,10 @@ using AipsCore.Infrastructure.Persistence.Db;
|
||||
using AipsWebApi.Middleware;
|
||||
using DotNetEnv;
|
||||
|
||||
Env.Load("../../.env");
|
||||
if (File.Exists("../../.env"))
|
||||
{
|
||||
Env.Load("../../.env");
|
||||
}
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user