From b8873df1ca1dcd04ec8df37b04694324b13393eb Mon Sep 17 00:00:00 2001 From: Tero Nikula <37400796+ziirou@users.noreply.github.com> Date: Wed, 3 Sep 2025 15:37:40 +0300 Subject: [PATCH] Update part12c.md Added a fix for wget connecting problem. I was stuck with this for quite long and it seemed that others have had similar problems (in Discord channel). --- src/content/12/en/part12c.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/content/12/en/part12c.md b/src/content/12/en/part12c.md index 5a78e955032..a843db3b66e 100644 --- a/src/content/12/en/part12c.md +++ b/src/content/12/en/part12c.md @@ -354,6 +354,13 @@ writing to stdout ... ``` +> If you have a problem connecting (`wget: server returned error: HTTP/1.1 403 Forbidden`), you will need to allow "app" in `defineConfig` in `vite.config.js`: +> ```js +> server: { +> allowedHosts: ['app'], +> } +> ``` + The URL is the interesting part here. We simply said to connect to port 5173 of the service app. app is the name of the service specified in the docker-compose.dev.yml file: ```yml