Skip to content

Commit

Permalink
🏗️ Fix base path for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Apr 7, 2024
1 parent 5bd4215 commit 5a9fcf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/react-tic-tac-toe/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ module.exports = {
vm: false,
};

webpackConfig.output = {
...webpackConfig.output,
publicPath: '/',
};

// Add Buffer global if it's missing
webpackConfig.plugins = (webpackConfig.plugins || []).concat(
new webpack.ProvidePlugin({
Expand Down
2 changes: 1 addition & 1 deletion app/react-tic-tac-toe/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"homepage": "http://youcefhmd.github.io/TIC-TAC-TOE-GAME",
"homepage": "https://github.com/magicblock-labs/bolt-tic-tac-toe",
"name": "tic-tac-toe-game",
"version": "0.1.0",
"private": true,
Expand Down

0 comments on commit 5a9fcf8

Please sign in to comment.