Allow serving of interactive CSVs directly to Handy (#3756)

* allow direct serve interactive CSVs to Handy
---------
Co-authored-by: kermieisinthehouse <kermie@isinthe.house>
This commit is contained in:
hontheinternet
2023-07-11 13:02:09 +09:00
committed by GitHub
parent 8e235a26ee
commit 4f0e0e1d99
12 changed files with 159 additions and 16 deletions

View File

@@ -479,6 +479,10 @@ func (r *mutationResolver) ConfigureInterface(ctx context.Context, input ConfigI
c.Set(config.FunscriptOffset, *input.FunscriptOffset)
}
if input.UseStashHostedFunscript != nil {
c.Set(config.UseStashHostedFunscript, *input.UseStashHostedFunscript)
}
if err := c.Write(); err != nil {
return makeConfigInterfaceResult(), err
}