Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a34860fca | |||
| 56106622b2 |
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -34,4 +34,4 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.kaisei.app/amatsugu/aoba:${{ env.VERSION }}
|
||||
build-args: VERSION=${ env.VERSION }
|
||||
build-args: VERSION=${{ env.VERSION }}
|
||||
|
||||
@@ -132,6 +132,11 @@ public class ThumbnailService(IMongoDatabase db, AobaService aobaService)
|
||||
{
|
||||
opt.WithCustomArgument($"-vf \"crop='min(in_w,in_h)':'min(in_w,in_h)',scale={w}:{w}\" -loop 0 -r 15")
|
||||
.ForceFormat("webp");
|
||||
}).Configure(cfg =>
|
||||
{
|
||||
#if !DEBUG
|
||||
cfg.BinaryFolder = "/usr/bin";
|
||||
#endif
|
||||
}).ProcessSynchronously();
|
||||
output.Position = 0;
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user