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

Fix deployment URL #10

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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