Skip to content

Commit

Permalink
Merge pull request #47 from bence-toth/gh-pages-deployment-fix
Browse files Browse the repository at this point in the history
Made gh-pages work from subdirectory
  • Loading branch information
bence-toth authored Aug 16, 2020
2 parents 568b5a6 + 1b1298d commit d644339
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PUBLIC_URL="/triangle-mosaic"
3 changes: 2 additions & 1 deletion triangle-mosaic-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"homepage": "/triangle-mosaic"
}
1 change: 1 addition & 0 deletions triangle-mosaic-demo/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Triangle Mosaic</title>
<base href="%PUBLIC_URL%/">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down

0 comments on commit d644339

Please sign in to comment.