Commit 586f312
Save command-line port and host to database for PDF generation
When the server is started with --port or --host command-line arguments,
these values are now persisted to the database. This ensures that PDF
generation (which uses the port from the database config) uses the correct
port that the server is actually listening on.
Fixes issue where chromium PDF generation was using the default port 10020
from the database instead of the actual server port (e.g., 8080) when
started with --port argument in Docker containers.
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>1 parent 3bf9a67 commit 586f312
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
| 815 | + | |
816 | 816 | | |
817 | 817 | | |
| 818 | + | |
| 819 | + | |
818 | 820 | | |
819 | 821 | | |
| 822 | + | |
| 823 | + | |
820 | 824 | | |
821 | 825 | | |
822 | 826 | | |
| |||
0 commit comments