Skip to content

Commit f009b9f

Browse files
PeRobinRobin Pedersen
authored and
Robin Pedersen
committed
docs: update configuration guide for port changes affecting PDF generation
Add note explaining that when changing the default port in Docker Compose setup, the HostName in appsettings.json must also be updated to include the new port number for PDF generation to work correctly.
1 parent 009bf3c commit f009b9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,15 @@ Sometimes the local environment have another service running on port 80, so you
181181
ALTINN3LOCAL_PORT=80
182182
```
183183

184+
> [!NOTE]
185+
> If you change the port, you must also update the `HostName` in `appsettings.json` in your form application for PDF generation to work correctly. For example:
186+
>
187+
> ```json
188+
>"GeneralSettings": {
189+
> "HostName": "local.altinn.cloud:<PORTNUMBER>",
190+
> }
191+
> ```
192+
184193
If you want to see the storage files on disk (instead of reading them through the browser), change this to a local
185194
path on your computer (ensure that it exists)
186195

0 commit comments

Comments
 (0)