thumbnailing #7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import minio, { BUCKET } from './minio';
|
||||||
const processing = new Set();
|
const processing = new Set();
|
||||||
|
|
||||||
export function createSignature(opts: string) {
|
export function createSignature(opts: string) {
|
||||||
return createHmac('SHA1', env.THUMBOR_KEY || 'development')
|
return createHmac('SHA1', env.THUMBOR_SECRET || 'development')
|
||||||
.update(opts)
|
.update(opts)
|
||||||
.digest();
|
.digest();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue