Skip to content

Commit

Permalink
fix: docker nginx config, revert base url (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman authored Sep 19, 2024
1 parent c1b2217 commit efd9f3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions apps/faucet/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -62,7 +60,7 @@ module.exports = {
faucet: "./src",
},
output: {
publicPath: ASSET_PATH,
publicPath: "/",
path: resolve(__dirname, `./build/`),
filename: "[name].bundle.js",
},
Expand Down
3 changes: 1 addition & 2 deletions docker/faucet/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
3 changes: 1 addition & 2 deletions docker/namadillo/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

1 comment on commit efd9f3d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.