Experimental port to Firebase hosting
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
const SRIToolbox = require('sri-toolbox');
|
||||
import SRIToolbox from 'sri-toolbox';
|
||||
|
||||
function getIntegrity(data) {
|
||||
export default function getIntegrity(data) {
|
||||
return SRIToolbox.generate({ algorithms: ['sha384'] }, data);
|
||||
}
|
||||
|
||||
module.exports = getIntegrity;
|
||||
|
||||
Reference in New Issue
Block a user