Skip to content

Commit

Permalink
Update deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
Respirayson committed Mar 10, 2024
1 parent e459b8a commit 8972166
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import { BrowserRouter } from 'react-router-dom';

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<BrowserRouter basename={
import.meta.env.DEV ? '/' : '/comclub-website-2024/'
}>
<BrowserRouter>
<App />
</BrowserRouter>
</React.StrictMode>,
Expand Down
5 changes: 0 additions & 5 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,5 @@ export default defineConfig(({ command }) => {
},
},
};

if (command !== 'serve') {
config.base = '/comclub-website-2024/';
}

return config;
});

0 comments on commit 8972166

Please sign in to comment.