diff --git a/BlazorDiffusion.Client/wwwroot/js/input-comment.js b/BlazorDiffusion.Client/wwwroot/js/input-comment.js index 99f3775..6c47202 100644 --- a/BlazorDiffusion.Client/wwwroot/js/input-comment.js +++ b/BlazorDiffusion.Client/wwwroot/js/input-comment.js @@ -48,5 +48,5 @@ export default { error, submit, } - }, + } } diff --git a/BlazorDiffusion/Configure.AppHost.cs b/BlazorDiffusion/Configure.AppHost.cs index 48d1e41..32cc793 100644 --- a/BlazorDiffusion/Configure.AppHost.cs +++ b/BlazorDiffusion/Configure.AppHost.cs @@ -71,8 +71,8 @@ public override void Configure(Container container) CdnBucket = "diffusion-client", AssetsBasePath = r2AccessId != null ? "https://cdn.diffusion.works" : "/uploads", FallbackAssetsBasePath = r2AccessId != null ? "https://pub-97bba6b94a944260b10a6e7d4bf98053.r2.dev" : "/uploads", - SyncTasksInterval = TimeSpan.FromMinutes(10), - // DisableWrites = HostingEnvironment.IsDevelopment(), + SyncTasksInterval = TimeSpan.FromHours(24), + DisableWrites = true, }); container.Register(appConfig);