feature/IO-2282-VSSTA-Integration:

- Boilerplate in new route
- Fix issues with imgproxy
- Clean up imgproxy
This commit is contained in:
Dave Richer
2025-04-09 14:56:49 -04:00
parent 282fa787a9
commit f55764e859
14 changed files with 152 additions and 81 deletions

View File

@@ -0,0 +1,7 @@
const crypto = require("crypto");
const imgproxyKey = process.env.IMGPROXY_KEY;
const createHmacSha256 = (data) => crypto.createHmac("sha256", imgproxyKey).update(data).digest("base64url");
module.exports = createHmacSha256;