From d9d96a85cf561748497c9896112b04c30da69244 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Thu, 9 May 2019 12:07:11 +0200
Subject: [PATCH] Avoid triggering an HTTP request for frontend HTML in docker

---
 api/compose/django/entrypoint.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/api/compose/django/entrypoint.sh b/api/compose/django/entrypoint.sh
index 3fc06a416..5259f49f8 100755
--- a/api/compose/django/entrypoint.sh
+++ b/api/compose/django/entrypoint.sh
@@ -22,5 +22,6 @@ fi
 if [ -d "frontend" ]; then
   mkdir -p /frontend
   cp -r frontend/* /frontend/
+  export FUNKWHALE_SPA_HTML_ROOT=/frontend/index.html
 fi
 exec "$@"
-- 
GitLab