Skip to content

Commit

Permalink
fix(ui): wrong public config in package.json (#406)
Browse files Browse the repository at this point in the history
## What type of PR is this?

/kind bug

## What this PR does / why we need it:

Fix wrong public config in package.json. The current package.json config
will open the wrong link `127.0.0.1:3000/public` by default after `npm
run start` is executed.

Co-authored-by: hai-tian <[email protected]>
  • Loading branch information
elliotxx and hai-tian authored May 6, 2024
1 parent 08ae58a commit 5bcd85a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "Karpor-dashboard",
"version": "0.2.0",
"private": true,
"homepage": "/public/",
"dependencies": {
"@ant-design/icons": "^5.2.6",
"@antv/g2": "^5.1.13",
Expand Down Expand Up @@ -58,7 +57,7 @@
"scripts": {
"release": "standard-version",
"start": "GENERATE_SOURCEMAP=false HTTPS=true craco start",
"build": "GENERATE_SOURCEMAP=false craco build",
"build": "GENERATE_SOURCEMAP=false PUBLIC_URL=/public/ craco build",
"lint:prettier": "prettier --write src\"/**/*.+(js|ts|tsx|jsx|json|md|json)\"",
"lint:style": "stylelint src\"/**/*.+(css|scss|less|stylus|sass|postcss)\" --fix",
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx src",
Expand Down

0 comments on commit 5bcd85a

Please sign in to comment.