Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from mapachurro/baseurl-1
Browse files Browse the repository at this point in the history
Fix deployment URL
  • Loading branch information
mapachurro authored Jul 22, 2024
2 parents 44fedf9 + b287ade commit 1efc649
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 88 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Education DAO Glossary</title>
<base href="/" /> <!-- Ensure the base URL is correctly set -->
<base href="/web3-glossary-website/" /> <!-- Ensure the base URL is correctly set -->
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
<script type="module" src="./src/index.jsx"></script> <!-- Adjusted path to be relative -->
</body>
</html>
172 changes: 86 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react';
import path from 'path';

export default defineConfig({
base: '/web3-glossary-website/', // Set this to your repository name
plugins: [react()],
resolve: {
alias: {
Expand Down

0 comments on commit 1efc649

Please sign in to comment.