mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
Fix various issues with proxying and webhook caching
This commit is contained in:
parent
8940226385
commit
ca56fd419b
4 changed files with 61 additions and 7 deletions
|
|
@ -51,7 +51,7 @@ namespace PluralKit.Bot
|
|||
.AddTransient(_ => _config.GetSection("PluralKit").Get<CoreConfig>() ?? new CoreConfig())
|
||||
.AddTransient(_ => _config.GetSection("PluralKit").GetSection("Bot").Get<BotConfig>() ?? new BotConfig())
|
||||
|
||||
.AddScoped<IDbConnection>(svc =>
|
||||
.AddTransient<IDbConnection>(svc =>
|
||||
{
|
||||
|
||||
var conn = new NpgsqlConnection(svc.GetRequiredService<CoreConfig>().Database);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue