diff --git a/src/styles/components/landing.styl b/src/styles/components/landing.styl index 3a0e9cd2..3273e8ed 100644 --- a/src/styles/components/landing.styl +++ b/src/styles/components/landing.styl @@ -1,6 +1,6 @@ .landing align-items: center - background: url('../images/builder-landing.jpg') center center no-repeat + background: url('https://lab.zooniverse.org/src/images/builder-landing.jpg') center center no-repeat background-size: cover color: white display: flex diff --git a/webpack.config.js b/webpack.config.js index ac7c4442..ed1d1a25 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -30,7 +30,8 @@ module.exports = { output: { path: path.join(__dirname, '/dist/'), - filename: '[name].js' + filename: '[name].js', + publicPath: '/' }, plugins: [ diff --git a/webpack.production.config.js b/webpack.production.config.js index ec3096e1..7e7cc27d 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -34,7 +34,8 @@ module.exports = { output: { path: path.join(__dirname, '/dist/'), filename: '[name]-[chunkhash].js', - chunkFilename: '[name]-[chunkhash].js' + chunkFilename: '[name]-[chunkhash].js', + publicPath: '/' }, plugins: [