From 74381a9eede4ec1b4beb75b09b323621b3f130a8 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Sat, 19 Oct 2024 18:40:36 +0200 Subject: [PATCH] update frontend, add API_URL_SERVER_OVERRIDE --- docker-compose.yaml | 5 +++++ frontend | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 3ae0f23..e0ebb12 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,6 +4,11 @@ services: init: true ports: - "3000:3000" + environment: + # Reason for override: + # * Requests from server cannot access host "localhost" + # * Requests from user agent cannot access host "server" + API_URL_SERVER_OVERRIDE: server:8080 server: build: diff --git a/frontend b/frontend index 0c73601..f982e6d 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit 0c736018b12b53061ee284aac3f362e60ed9c84b +Subproject commit f982e6da26c6271e01508ac4e9df41aefea6bcc2