diff --git a/Bootstrap.Admin/Program.cs b/Bootstrap.Admin/Program.cs index f1656129..7aec9ac7 100644 --- a/Bootstrap.Admin/Program.cs +++ b/Bootstrap.Admin/Program.cs @@ -22,6 +22,6 @@ namespace Bootstrap.Admin /// /// public static IWebHostBuilder CreateWebHostBuilder(string[] args) => - WebHost.CreateDefaultBuilder(args).UseSentry("https://70bdfff562e84fa7b9a43d65924ab9ad@sentry.io/1469396").UseStartup(); + WebHost.CreateDefaultBuilder(args).UseSentry().UseStartup(); } } diff --git a/Bootstrap.Admin/appsettings.json b/Bootstrap.Admin/appsettings.json index cb71eb2f..25e5925c 100644 --- a/Bootstrap.Admin/appsettings.json +++ b/Bootstrap.Admin/appsettings.json @@ -62,6 +62,9 @@ "Expires": 5, "SecurityKey": "BootstrapAdmin-V1.1" }, + "Sentry" : { + "Dsn": "https://70bdfff562e84fa7b9a43d65924ab9ad@sentry.io/1469396" + }, "LongbowCache": { "Enabled": true, "CorsItems": [