Skip to content

Commit

Permalink
feat: 添加自定义域名
Browse files Browse the repository at this point in the history
  • Loading branch information
senwii committed Mar 9, 2020
1 parent 1c47556 commit 583f202
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "NODE_ENV=production webpack"
},
"author": "senwii",
"homepage": "https://senii.github.io/react-template-project",
"homepage": "https://blog.senwii.ink/hello",
"license": "ISC",
"dependencies": {
"@loadable/component": "^5.10.3",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title><%= title %></title>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<link rel="icon" href="https://blog.senwii.ink/react-template-project/assets/logo_64x64.png" type="img/x-ico" />
<link rel="icon" href="https://blog.senwii.ink/assets/logo_64x64.png" type="img/x-ico" />
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = {
path: `${appDirName}/dist`,
filename: 'entry.[contenthash].js',
chunkFilename: '[name].[contenthash].js',
publicPath: IS_PRODUCTION ? `https://blog.senwii.ink/react-template-project/` : '/',
publicPath: '/',
},
resolve: {
alias: {
Expand Down

0 comments on commit 583f202

Please sign in to comment.