We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ae292 commit 204ac30Copy full SHA for 204ac30
src/App.jsx
@@ -44,7 +44,7 @@ function RedirectWithState() {
44
}
45
46
return (
47
- <Router>
+ <Router basename={import.meta.env.BASE_URL}>
48
<RedirectWithState />
49
<div className="App">
50
{/* Pass user status as loggedin prop to Navbar */}
vite.config.js
@@ -2,6 +2,6 @@ import { defineConfig } from 'vite'
2
import react from '@vitejs/plugin-react'
3
// https://vitejs.dev/config/
4
export default defineConfig({
5
- base: '/',
+ base: 'https://courses.krimsonsquad.tech',
6
plugins: [react()]
7
})
0 commit comments