mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-11 07:04:58 -05:00
fix(kb): handle larger files in the kb (#2324)
* fix(kb): handle larger files in the kb * fixed images on login page
This commit is contained in:
@@ -144,7 +144,9 @@ export async function proxy(request: NextRequest) {
|
||||
if (hasActiveSession) {
|
||||
return NextResponse.redirect(new URL('/workspace', request.url))
|
||||
}
|
||||
return NextResponse.next()
|
||||
const response = NextResponse.next()
|
||||
response.headers.set('Content-Security-Policy', generateRuntimeCSP())
|
||||
return response
|
||||
}
|
||||
|
||||
if (url.pathname.startsWith('/chat/')) {
|
||||
|
||||
Reference in New Issue
Block a user