aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe <me@christine.website>2022-11-21 08:35:01 -0500
committerXe <me@christine.website>2022-11-21 08:35:01 -0500
commit175fdf8f5b994edd60965cee4d0fb884e3d10434 (patch)
treecae0083ecf80ecd813039dc826b7fe3687dd432f /cmd
parentd4cde2dca21c09ecfa7392661574dc92200dd79e (diff)
downloadx-175fdf8f5b994edd60965cee4d0fb884e3d10434.tar.xz
x-175fdf8f5b994edd60965cee4d0fb884e3d10434.zip
various metadata fixes
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/uploud/main.go4
-rw-r--r--cmd/xedn/fly.toml4
2 files changed, 6 insertions, 2 deletions
diff --git a/cmd/uploud/main.go b/cmd/uploud/main.go
index 0ec676a..160cf51 100644
--- a/cmd/uploud/main.go
+++ b/cmd/uploud/main.go
@@ -23,12 +23,12 @@ import (
var (
b2Bucket = flag.String("b2-bucket", "christine-static", "Backblaze B2 bucket to dump things to")
- avifQuality = flag.Int("avif-quality", 48, "AVIF quality (higher is worse quality)")
+ avifQuality = flag.Int("avif-quality", 24, "AVIF quality (higher is worse quality)")
avifEncoderSpeed = flag.Int("avif-encoder-speed", 0, "AVIF encoder speed (higher is faster)")
jpegQuality = flag.Int("jpeg-quality", 85, "JPEG quality (lower means lower file size)")
- webpQuality = flag.Int("webp-quality", 75, "WEBP quality (higher is worse quality)")
+ webpQuality = flag.Int("webp-quality", 50, "WEBP quality (higher is worse quality)")
)
func doAVIF(src image.Image, dstPath string) error {
diff --git a/cmd/xedn/fly.toml b/cmd/xedn/fly.toml
index a721ba5..ed2b725 100644
--- a/cmd/xedn/fly.toml
+++ b/cmd/xedn/fly.toml
@@ -15,6 +15,10 @@ processes = []
allowed_public_ports = []
auto_rollback = true
+[mounts]
+ source="xedn_cache"
+ destination="/data"
+
[[services]]
http_checks = []
internal_port = 8080