From 97bf4118ce868e5153b0ef668f6c4ec6652fdec7 Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Fri, 11 Feb 2022 18:29:17 -0600 Subject: [PATCH] include the new BASE_ASSETS_PATH env var in build environments --- admin/webpack.config.js | 3 ++- webpack.config.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/webpack.config.js b/admin/webpack.config.js index ccf6e4d0bd..584cfad214 100644 --- a/admin/webpack.config.js +++ b/admin/webpack.config.js @@ -225,7 +225,8 @@ module.exports = (env, argv) => { RETICULUM_SERVER: process.env.RETICULUM_SERVER, CORS_PROXY_SERVER: process.env.CORS_PROXY_SERVER, POSTGREST_SERVER: process.env.POSTGREST_SERVER, - UPLOADS_HOST: process.env.UPLOADS_HOST + UPLOADS_HOST: process.env.UPLOADS_HOST, + BASE_ASSETS_PATH: process.env.BASE_ASSETS_PATH }) }) ] diff --git a/webpack.config.js b/webpack.config.js index c536e46b18..acc114db1d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -645,6 +645,7 @@ module.exports = async (env, argv) => { GA_TRACKING_ID: process.env.GA_TRACKING_ID, POSTGREST_SERVER: process.env.POSTGREST_SERVER, UPLOADS_HOST: process.env.UPLOADS_HOST, + BASE_ASSETS_PATH: process.env.BASE_ASSETS_PATH, APP_CONFIG: appConfig }) })