mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-08 21:07:46 +00:00
ESM on Windows versions of Node.js require `--loader PATH` to be a `file://` protocol. This PR allows `vc dev` to be used with both TypeScript and ESM
5 lines
107 B
JavaScript
5 lines
107 B
JavaScript
export default (_req, res) => {
|
|
res.setHeader('x-hello', 'world');
|
|
res.send('Hello, world!').end();
|
|
};
|