Skip to content

Commit

Permalink
fix: set base and publicPath to /
Browse files Browse the repository at this point in the history
  • Loading branch information
chengluyu committed May 10, 2021
1 parent 1056032 commit 069d3cc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .umirc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const path = require("path");
const name = "gossip";

export default {
base: `/${name}`,
publicPath: `/${name}/`,
base: `/`,
publicPath: `/`,
alias: {
"@ant-design/icons/lib/dist$": path.resolve(__dirname, "./src/icons.js")
},
Expand All @@ -16,7 +15,7 @@ export default {
},
antd: true,
title: {
defaultTitle: name
defaultTitle: "Gossip"
}
}
]
Expand Down

0 comments on commit 069d3cc

Please sign in to comment.