Skip to content

Commit

Permalink
404 issue soln1
Browse files Browse the repository at this point in the history
  • Loading branch information
devsdenepal committed Sep 21, 2024
1 parent 39ae292 commit 204ac30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function RedirectWithState() {
}

return (
<Router>
<Router basename={import.meta.env.BASE_URL}>
<RedirectWithState />
<div className="App">
{/* Pass user status as loggedin prop to Navbar */}
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
base: '/',
base: 'https://courses.krimsonsquad.tech',
plugins: [react()]
})

0 comments on commit 204ac30

Please sign in to comment.