Skip to content

Commit

Permalink
Fix vite base
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomassaia committed Apr 7, 2024
1 parent 50c8b3a commit 5b6c938
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head>
<meta charset="utf-8">
<title>Canvas - Hex</title>
<script type="module" crossorigin src="/assets/index-b_MG2moP.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-rBOtZndF.css">
<script type="module" crossorigin src="/canvas-hex/assets/index-b_MG2moP.js"></script>
<link rel="stylesheet" crossorigin href="/canvas-hex/assets/index-rBOtZndF.css">
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from 'vite'
export default defineConfig(() =>({
// config options
build: {
outDir: 'docs',
base: '/canvas-hex/'
}
outDir: 'docs/',
},
base: '/canvas-hex/'
}));

0 comments on commit 5b6c938

Please sign in to comment.