mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
fd206600a5
Using `const createHmac = require('create-hmac')` will ensure that this script will work both on Node.js and Browser (otherwise it will crash on browser). I've also updated `new Buffer` on line 7, which is deprecated in flavor of `Buffer.from`