+
+
+ {sortedSolutions.map(solution => (
+
+ ))}
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/server.ts b/server.ts
index 9f364f3..8b42fe9 100644
--- a/server.ts
+++ b/server.ts
@@ -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',
diff --git a/server/db/database.ts b/server/db/database.ts
index e6feedb..14b689a 100644
--- a/server/db/database.ts
+++ b/server/db/database.ts
@@ -2,7 +2,7 @@ import crypto from 'crypto'
import { readFile, writeFile, access, constants } from 'fs/promises'
-import { MetadataProps as MetaProps, Problem, ProblemId, Solution, SolutionId, User, UserId } from '../../shared/model'
+import { MetadataProps as MetaProps, Problem, ProblemId, Solution, SolutionId, User } from '../../shared/model'
function once