File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { ErrorBoundary } from '@/components/ErrorBoundary';
1010import '@/i18n' ;
1111import PrivacyPage from '@/pages/PrivacyPage' ;
1212import LegalPage from '@/pages/LegalPage' ;
13+ import LandingPage from '@/pages/LandingPage' ;
1314import { Dashboard } from '@/components/Dashboard' ;
1415
1516const Index = lazy ( ( ) => import ( '@/pages/Index' ) ) ;
@@ -42,7 +43,8 @@ function App() {
4243 < div className = "animate-spin rounded-full h-8 w-8 border-2 border-blue-600 border-t-transparent" > </ div >
4344 </ div > } >
4445 < Routes >
45- < Route path = "/" element = { < Index /> } />
46+ < Route path = "/" element = { < LandingPage /> } />
47+ < Route path = "/app" element = { < Index /> } />
4648 < Route path = "/dashboard" element = { < Dashboard /> } />
4749 < Route path = "/campaign/:campaignId" element = { < AdvancedStatsPage /> } />
4850 < Route path = "/affiliate/:affiliateId" element = { < AffiliatePage /> } />
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const LandingPage = () => {
1414 } , [ ] ) ;
1515
1616 const redirectToDashboard = ( ) => {
17- window . location . href = 'https://dashboard.refspring.com ' ;
17+ window . location . href = '/app ' ;
1818 } ;
1919
2020 const structuredData = {
You can’t perform that action at this time.
0 commit comments