diff --git a/docker-compose.yml b/docker-compose.yml index 390d769..8d739bf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,7 @@ services: screenshot: init: true - build: /volumes/syncthing/Projects/property-map/screenshot + build: ./screenshot environment: PORT: "8002" APP_URL: http://frontend:3001 diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 41373a0..c5f1f60 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -46,7 +46,14 @@ module.exports = (env, argv) => { test: /\.css$/, use: [ isProduction ? MiniCssExtractPlugin.loader : 'style-loader', - 'css-loader', + { + loader: 'css-loader', + options: { + url: { + filter: (url) => !url.startsWith('/'), + }, + }, + }, 'postcss-loader', ], },