mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2025-08-15 15:42:21 +02:00
Merge pull request #5 from sanderdatema/patch-1
This commit is contained in:
@ -2,7 +2,12 @@ using FakeRelay.Core;
|
|||||||
using FakeRelay.Web.Services;
|
using FakeRelay.Web.Services;
|
||||||
using Microsoft.AspNetCore.HttpOverrides;
|
using Microsoft.AspNetCore.HttpOverrides;
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var webApplicationOptions = new WebApplicationOptions
|
||||||
|
{
|
||||||
|
ContentRootPath = AppContext.BaseDirectory,
|
||||||
|
Args = args,
|
||||||
|
};
|
||||||
|
var builder = WebApplication.CreateBuilder(webApplicationOptions);
|
||||||
Config.Init(builder.Configuration.GetValue<string>("CONFIG_PATH"));
|
Config.Init(builder.Configuration.GetValue<string>("CONFIG_PATH"));
|
||||||
|
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
|
Reference in New Issue
Block a user