diff --git a/apps/builder/app/routes/login.tsx b/apps/builder/app/routes/login.tsx index c30c0559f462..ff972912f027 100644 --- a/apps/builder/app/routes/login.tsx +++ b/apps/builder/app/routes/login.tsx @@ -6,3 +6,7 @@ export const meta: MetaFunction = () => { }; export default Root; + +export const config = { + maxDuration: 20, // seconds +}; diff --git a/apps/builder/app/routes/rest.assets.tsx b/apps/builder/app/routes/rest.assets.tsx index 47fbfc355df3..245d2e973021 100644 --- a/apps/builder/app/routes/rest.assets.tsx +++ b/apps/builder/app/routes/rest.assets.tsx @@ -58,3 +58,7 @@ export const action = async (props: ActionFunctionArgs) => { } } }; + +export const config = { + maxDuration: 20, // seconds +}; diff --git a/apps/builder/app/routes/rest.patch.ts b/apps/builder/app/routes/rest.patch.ts index 64095a9aedaf..b1a7c5627827 100644 --- a/apps/builder/app/routes/rest.patch.ts +++ b/apps/builder/app/routes/rest.patch.ts @@ -335,3 +335,7 @@ export const action = async ({ request }: ActionFunctionArgs) => { return { errors: e instanceof Error ? e.message : JSON.stringify(e) }; } }; + +export const config = { + maxDuration: 20, // seconds +};