From 08ac7478dd6ceba7a6b899887a7c65fc82862d0d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 13 Jan 2022 17:44:26 +1100 Subject: [PATCH] Set mix_url to be configurable with env vars --- config/app.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index 79240cf39cdc..8e4e58375b7a 100644 --- a/config/app.php +++ b/config/app.php @@ -53,7 +53,8 @@ return [ */ 'url' => env('APP_URL', 'http://localhost'), - 'mix_url' => env('APP_URL', 'http://localhost'), + + 'mix_url' => env('MIX_ASSET_URL', env('APP_URL', null)), /* |-------------------------------------------------------------------------- | Application Timezone