Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change variable name and remove from common.env

dominik-zeglend78135e2fb7e
diff --git a/common.env b/common.env
index ce86a28123..a1f1b89781 100644
--- a/common.env
+++ b/common.env
@@ -5,5 +5,3 @@ OPENEXCHANGERATES_API_KEY
REDIS_URL=redis://redis:6379/0
REDIS_BROKER_URL=redis://redis:6379/1
SECRET_KEY=changeme
-
-ASSETS_PRODUCTION=/static/assets/
diff --git a/webpack.config.js b/webpack.config.js
index 0f0fb340f0..8a4ddc6cdb 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -18,7 +18,7 @@ if (process.env.NODE_ENV === 'production') {
output = {
path: resolve('saleor/static/assets/'),
filename: '[name].[chunkhash].js',
- publicPath: process.env.ASSETS_PRODUCTION
+ publicPath: process.env.STATIC_URL || '/static/assets/'
};
fileLoaderPath = 'file-loader?name=[name].[hash].[ext]';
extractTextPlugin = new ExtractTextPlugin('[name].[contenthash].css');