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>
12 lines
172 B
JavaScript
12 lines
172 B
JavaScript
import fs from 'fs';
|
|
|
|
export const config = {
|
|
runtime: 'nodejs',
|
|
memory: 1024,
|
|
maxDuration: 60,
|
|
};
|
|
|
|
export default function (req, res) {
|
|
res.end('Hi from Node');
|
|
}
|