mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-02 11:34:20 +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`