Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(web): add /uploads/* rewrite for self-hosted deployments (#1010)

Bohan Jiangc2a5ed73e812
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index 548b211710..672bed443c 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -45,6 +45,10 @@ const nextConfig: NextConfig = {
source: "/auth/:path*",
destination: `${remoteApiUrl}/auth/:path*`,
},
+ {
+ source: "/uploads/:path*",
+ destination: `${remoteApiUrl}/uploads/:path*`,
+ },
];
},
};