Skip to content

Commit d60762c

Browse files
authored
Update and rename index.js to index.ts
1 parent 8f4dbe4 commit d60762c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/index.js renamed to api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { getScreenshot } = require('./_lib/puppeteer');
1+
import { getScreenshot } from './_lib/puppeteer';
22
const usage = "https://s.vercel.app/api?url=https://google.com&width=1280&height=720"
33

44
module.exports = async (req, res) => {

0 commit comments

Comments
 (0)