From 924b3b48c74691d58a8e054d80b85935d7cd5c34 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Fri, 16 Apr 2021 02:54:25 +0300 Subject: [PATCH] Replace entire URL Otherwise we ended up with an http://http://... URL. --- api/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/start.sh b/api/start.sh index 4b56f6f..c59a00c 100755 --- a/api/start.sh +++ b/api/start.sh @@ -1,6 +1,6 @@ #!/bin/sh -sed -i "s|localhost:5611|${APP_URL}:5611|g" public/js/* +sed -i "s|http://localhost:5611|${APP_URL}:5611|g" public/js/* sed "s|^APP_URL=.*|APP_URL=${APP_URL}|" .env.example > .env php-fpm -- 2.2.2