mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 12:57:47 +00:00
This PR enables specifying `maxDuration` in `config` for node vc deployments. --------- Co-authored-by: Nathan Rajlich <n@n8.io>
13 lines
349 B
TypeScript
13 lines
349 B
TypeScript
import ms from 'https://denopkg.com/TooTallNate/ms';
|
|
import { readerFromStreamReader } from 'https://deno.land/std@0.107.0/io/streams.ts';
|
|
|
|
export const config = {
|
|
runtime: 'deno',
|
|
location: 'https://example.com/page',
|
|
maxDuration: 60
|
|
};
|
|
|
|
export default async ({ request }: Deno.RequestEvent) => {
|
|
return new Response('Hello from Deno');
|
|
};
|