Add debug page

This commit is contained in:
2022-04-10 07:11:53 +00:00
parent beb8c3ebaa
commit 354d124943
4 changed files with 50 additions and 7 deletions
+5
View File
@@ -26,6 +26,7 @@ import { Auth } from './Auth.js';
import { Subscribe } from './PayPal.js';
import { PasswordReset, ConfirmReset } from './PasswordReset.js';
import { NotFound, PleaseLogin } from './Misc.js';
import { Debug } from './Debug.js';
import { Footer } from './Footer.js';
const APP_VERSION = 3; // TODO: automate this
@@ -227,6 +228,10 @@ function App() {
<div className='topPadding'>
<Switch>
<Route path='/debug'>
<Debug token={token} user={user} />
</Route>
<Route path='/password/reset/confirm/:uid/:token'>
<ConfirmReset />
</Route>