minor ui fixes (#668)
* remove unused package * fix controller name * catch and ignore jsruntime exceptions * separate debug stage from public stage
This commit is contained in:
+5
-3
@@ -4,7 +4,6 @@ using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Channels;
|
||||
using Blazored.LocalStorage;
|
||||
using Bugsnag.AspNet.Core;
|
||||
using Dapper;
|
||||
using ErsatzTV.Application;
|
||||
@@ -94,10 +93,14 @@ namespace ErsatzTV
|
||||
?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
|
||||
?.InformationalVersion ?? "unknown";
|
||||
|
||||
configuration.NotifyReleaseStages = new[] { "public" };
|
||||
configuration.NotifyReleaseStages = new[] { "public", "develop" };
|
||||
|
||||
#if DEBUG
|
||||
configuration.ReleaseStage = "develop";
|
||||
#else
|
||||
// effectively "disable" by tweaking app config
|
||||
configuration.ReleaseStage = bugsnagConfig.Enable ? "public" : "private";
|
||||
#endif
|
||||
});
|
||||
|
||||
services.AddCors(
|
||||
@@ -139,7 +142,6 @@ namespace ErsatzTV
|
||||
|
||||
services.AddMudServices();
|
||||
services.AddCourier(Assembly.GetAssembly(typeof(LibraryScanProgress)));
|
||||
services.AddBlazoredLocalStorage();
|
||||
|
||||
Console.OutputEncoding = Encoding.UTF8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user