📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
remove main page for captcha
kruzhambus5b3ecdbf2570
diff --git a/src/App.js b/src/App.jsindex 5666e967a..57f4aaa38 100644--- a/src/App.js+++ b/src/App.js@@ -52,7 +52,6 @@ const ProjectAlertsSettings = lazy(() => import('pages/Project/Alerts/Settings')const CookiePolicy = lazy(() => import('pages/CookiePolicy'))const CaptchaSettings = lazy(() => import('pages/Captcha/Settings'))const CaptchaView = lazy(() => import('pages/Captcha/View'))-const CaptchaMainPage = lazy(() => import('pages/Captcha/MainPage'))const minimalFooterPages = ['/projects', '/dashboard', '/settings', '/contact',@@ -213,7 +212,6 @@ const App = () => {<Route path={routes.captcha_settings} component={CaptchaSettings} exact /><Route path={routes.new_captcha} component={CaptchaSettings} exact /><Route path={routes.captcha} component={CaptchaView} exact />- <Route path={routes.captchaMain} component={CaptchaMainPage} exact /><Route path='*' component={NotFound} /></Switch></Suspense>diff --git a/src/pages/Captcha/MainPage/index.jsx b/src/pages/Captcha/MainPage/index.jsxdeleted file mode 100644index 7eed9a53f..000000000--- a/src/pages/Captcha/MainPage/index.jsx+++ /dev/null@@ -1,16 +0,0 @@-import React from 'react'--const MainPage = () => (- <div className='main-page'>- <div className='main-page__content'>- <div className='main-page__content__title'>- <h1>Swetrix</h1>- </div>- <div className='main-page__content__description'>- <p>Swetrix is a free, open-source, and privacy-focused captcha service.</p>- </div>- </div>- </div>-)--export default MainPagediff --git a/src/routes.js b/src/routes.jsindex 7d2514fb3..7e13d6f62 100644--- a/src/routes.js+++ b/src/routes.js@@ -5,7 +5,6 @@ const routes = Object.freeze({new_password_form: '/password-reset/:id',confirm_share: '/share/:id',main: '/',- captchaMain: '/captcha',dashboard: '/dashboard',user_settings: '/settings',verify: '/verify/:id',