Add user pages

This commit is contained in:
2023-01-06 01:25:41 +01:00
parent 0f91536b10
commit 8bd33a8be3
6 changed files with 41 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import { RenderFunction } from './shared/ssr'
// Load ".env"
dotenv.config()
const HTML_ROUTES = ['/', '/login', '/problem/:id', '/admin', '/profile', '/scores']
const HTML_ROUTES = ['/', '/login', '/problem/:id', '/u/:uid', '/admin', '/profile', '/scores']
const config = {
isDevelopment: process.env.MODE === 'development',