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 3d826ed commit 051bf02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BlazorDiffusion.Client/wwwroot/js/input-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ export default {
error,
submit,
}
},
}
}
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 051bf02

Please sign in to comment.