Implement user API proxying and enhance missing fields handling

This commit is contained in:
2026-03-30 14:28:40 +07:00
parent 41aca718c9
commit d3f3d9c91a
3 changed files with 86 additions and 6 deletions
-4
View File
@@ -28,10 +28,6 @@ const nextConfig = {
source: "/api/chapters/:path*",
destination: `${readerApiOrigin}/api/chapters/:path*`,
},
{
source: "/api/user/:path*",
destination: `${readerApiOrigin}/api/user/:path*`,
},
{
source: "/api/auth/mobile-login",
destination: `${readerApiOrigin}/api/auth/mobile-login`,