feat: add ?save=true param to chart v2 — saves JPEG to disk (ChartSettings paths in appsettings)

This commit is contained in:
2026-05-27 18:45:39 +02:00
parent 1b4e8c2096
commit 4611f3c376
2 changed files with 52 additions and 4 deletions

View File

@@ -29,5 +29,9 @@
}
}
},
"ChartSettings": {
"SavePath": "C:\\inetpub\\wwwroot\\smart-roots.net\\Images\\Charts",
"SavePathEnc": "C:\\inetpub\\wwwroot\\smart-roots.net\\Images\\Charts\\encoded"
},
"AllowedHosts": "*"
}