Skip to content

Commit

Permalink
Run syncing daily + disable cdn prerendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 14, 2023
1 parent 5d58160 commit e25d3c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BlazorDiffusion/Configure.AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e25d3c9

Please sign in to comment.