mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 03:32:14 +10:00
fix: pdf viewer and embeds
This commit is contained in:
@ -26,7 +26,7 @@ export const loader = async ({ request }: Route.LoaderArgs) => {
|
||||
const session = await getOptionalSession(request);
|
||||
|
||||
if (!session.isAuthenticated) {
|
||||
return redirect('/signin');
|
||||
throw redirect('/signin');
|
||||
}
|
||||
|
||||
const [limits, banner] = await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user