Skip to content

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

Remove development assets' path

dominik-zeglena35dc959ba9c
diff --git a/common.env b/common.env
index d82be6c136..ce86a28123 100644
--- a/common.env
+++ b/common.env
@@ -6,5 +6,4 @@ REDIS_URL=redis://redis:6379/0
REDIS_BROKER_URL=redis://redis:6379/1
SECRET_KEY=changeme
-ASSETS_DEV=/static/assets/
ASSETS_PRODUCTION=/static/assets/
diff --git a/webpack.config.js b/webpack.config.js
index 6a46a5c88a..0f0fb340f0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -26,7 +26,7 @@ if (process.env.NODE_ENV === 'production') {
output = {
path: resolve('saleor/static/assets/'),
filename: '[name].js',
- publicPath: process.env.ASSETS_DEV
+ publicPath: '/static/assets/'
};
fileLoaderPath = 'file-loader?name=[name].[ext]';
extractTextPlugin = new ExtractTextPlugin('[name].css');