Skip to content

Commit

Permalink
fix url base for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyshlyaev177 committed Jun 21, 2024
1 parent efebed1 commit dea93b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Tic-tac-toe game with React/TS/Vite</title>
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ export default defineConfig({
setupFiles: "./setupTests.ts",
css: true,
},
build: {
outDir: 'dist'
},
base: 'tic-tac-toe'
});

0 comments on commit dea93b5

Please sign in to comment.