diff --git a/apps/faucet/webpack.config.js b/apps/faucet/webpack.config.js index af72cdeca..e9e6debc8 100644 --- a/apps/faucet/webpack.config.js +++ b/apps/faucet/webpack.config.js @@ -10,8 +10,6 @@ require("dotenv").config({ path: resolve(__dirname, ".env") }); const { NODE_ENV } = process.env; -const ASSET_PATH = "/"; - const createStyledComponentsTransformer = require("typescript-plugin-styled-components").default; @@ -62,7 +60,7 @@ module.exports = { faucet: "./src", }, output: { - publicPath: ASSET_PATH, + publicPath: "/", path: resolve(__dirname, `./build/`), filename: "[name].bundle.js", }, diff --git a/docker/faucet/nginx.conf b/docker/faucet/nginx.conf index 51acaff2f..a4476297d 100644 --- a/docker/faucet/nginx.conf +++ b/docker/faucet/nginx.conf @@ -6,6 +6,5 @@ server { index index.html index.htm; try_files $uri $uri/ $uri.html /index.html; } - gzip on; - gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml; + gzip off; } diff --git a/docker/namadillo/nginx.conf b/docker/namadillo/nginx.conf index 51acaff2f..a4476297d 100644 --- a/docker/namadillo/nginx.conf +++ b/docker/namadillo/nginx.conf @@ -6,6 +6,5 @@ server { index index.html index.htm; try_files $uri $uri/ $uri.html /index.html; } - gzip on; - gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml; + gzip off; }